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

FindDefaultCredentials doesn't seem to be respect scopes #696

Open
krishnan-glean opened this issue Jan 22, 2024 · 0 comments
Open

FindDefaultCredentials doesn't seem to be respect scopes #696

krishnan-glean opened this issue Jan 22, 2024 · 0 comments

Comments

@krishnan-glean
Copy link

When I do FindDefaultCredentials(ctx context.Context, scopes ...string) in golang from an application deployed in GAE, I get a token. When I get the info about the token using "https://oauth2.googleapis.com/tokeninfo" on the token, it looks like it has a set of scopes not related to the one passed in (I find only one overlapping scope).

Is this expected?

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

1 participant