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

verify access tokens by checking getuserinfo during a token exchange #3031

Merged
merged 1 commit into from
Aug 1, 2023

Commits on Jul 6, 2023

  1. verify access tokens by checking getuserinfo during a token exchange

    The provider.Verifier.Verify endpoint we were using only works with ID
    tokens. This isn't an issue with systems which use ID tokens as access
    tokens (e.g. dex), but for systems with opaque access tokens (e.g.
    Google / GCP), those access tokens could not be verified.
    Instead, check the access token against the getUserInfo endpoint.
    
    Co-authored-by: Maksim Nabokikh <[email protected]>
    Signed-off-by: Sean Liao <[email protected]>
    seankhliao and nabokihms committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c2a7c62 View commit details
    Browse the repository at this point in the history