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

fix(idtoken): provide default scope for cert endpoint #1198

Merged
merged 1 commit into from Aug 30, 2021
Merged

fix(idtoken): provide default scope for cert endpoint #1198

merged 1 commit into from Aug 30, 2021

Conversation

codyoss
Copy link
Member

@codyoss codyoss commented Aug 30, 2021

When NewValidator is called without any options passed in it will
fail talking to the google cert endpoint because the dailed
authenticated client will not have proper scopes and leads to the
error: "invalid_scope". We should set a default scope do this method
can be called with no extra options.

Fixes: #1187

When NewValidator is called without any options passed in it will
fail talking to the google cert endpoint because the dailed
authenticated client will not have proper scopes and leads to the
error: "invalid_scope". We should set a default scope do this method
can be called with no extra options.

Fixes: #1187
@codyoss codyoss requested review from yoshi-approver and a team as code owners August 30, 2021 20:59
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 30, 2021
@codyoss codyoss merged commit 7019080 into googleapis:master Aug 30, 2021
@codyoss codyoss deleted the fix-idtok-val branch August 30, 2021 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

idtoken: Using NewValidator with Google credentials in the environments means you can't validate tokens
2 participants