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

Extract the OIDC issuer URL. #211

Merged
merged 1 commit into from Oct 24, 2021
Merged

Conversation

mattmoor
Copy link
Member

Instead of looping over all of the registered issuers, extract the issuer URL from the token, and use that to look up the verifier we have registered.

The extraction logic is essentially extracted from go-oidc, so it should be relatively well exercised. I also am using it here: https://github.com/mattmoor/kind-oidc

Signed-off-by: Matt Moore mattomata@gmail.com

Release Note


Instead of looping over all of the registered issuers, extract the issuer URL from the token, and use that to look up the verifier we have registered.

Signed-off-by: Matt Moore <mattomata@gmail.com>
@mattmoor
Copy link
Member Author

cc @dlorenc

Copy link
Member

@dlorenc dlorenc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM.

@dlorenc dlorenc merged commit 0ac3051 into sigstore:main Oct 24, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants