Skip to content

[sdk-platform-java] gax: investigate GoogleCredentialsProvider JWT with scopes with service account workflows #12424

Description

@zhumin8

In GoogleCredentialsProvider, getCredentials() has 2 JWT with scopes with service account workflows:

These 2 workflows looks suspicious to me, is there reasons why both are needed?

Separately, our guidance is to use ServiceAccountCredentials with SSJWT whenever possible. (see related issue). Thus if both are to keep, the first one can be updated to use ServiceAccountCredentials.

Activity

  1. changed the title [-]gax: [/-] [+]gax: investigate GoogleCredentialsProvider JWT with scopes with service account workflows[/+] on Aug 20, 2024
  2. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Aug 20, 2024
  3. added
    type: questionRequest for information or clarification. Not an issue.
    on Aug 21, 2024
  4. added
    type: cleanupAn internal cleanup or hygiene concern.
    and removed
    type: questionRequest for information or clarification. Not an issue.
    on Jan 24, 2025
  5. changed the title [-]gax: investigate GoogleCredentialsProvider JWT with scopes with service account workflows[/-] [+][sdk-platform-java] gax: investigate GoogleCredentialsProvider JWT with scopes with service account workflows[/+] on Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions