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

Signing JWT based on the default keyId. Currently, it signs based on… #1612

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DmytriE
Copy link

@DmytriE DmytriE commented Jun 5, 2024

This changes looks to see if there is a default key ID defined. If so, then we should grab the key based on the key ID from the keystore. However, the current implementation iterates through a list of keys in a jwks keystore looking for the first which has the desired algorithm. This works if you have a single key which uses that algorithm. If we would like a rolling key situation this fails and cannot be relied upon.

…the first key which has the desired algorithm.
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.

1 participant