Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate identity tokens from the gke metadata server #287

Closed
nicolas-vivot opened this issue Jul 18, 2024 · 0 comments
Closed

Comments

@nicolas-vivot
Copy link
Contributor

Currently the DefaultTokenSourceProvider allow us to generate OAuth 2.0 tokens only when relying on the GKE metadata server, while we can generate both types (identity and access token) when using the CrendentialFile mode.

I have submitted this PR to update the GKE metadata server mode so that:

  • an identity token get generated when we provide an audience
  • an access token get generated when we provide scopes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants