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

Add support to specify kid field in non jwk url alg types #1405

Closed
sharadregoti opened this issue Nov 25, 2020 · 1 comment
Closed

Add support to specify kid field in non jwk url alg types #1405

sharadregoti opened this issue Nov 25, 2020 · 1 comment
Milestone

Comments

@sharadregoti
Copy link
Contributor

The problem faced currently?

As space cloud supports parsing JWT tokens with multiple secrets. It tries to parse token with all the available secrets by which it takes a performance hit, it will be great if the token specifies which secret to use to parse the token.

How can we solve it?

JWT standard supports providing kid in the header of JWK token, so while adding a secret in space cloud we can also take a kid param. While parsing token we will look for a kid header & if the kid is present in token we try to use the specific secret to parse the token.

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

@sharadregoti sharadregoti added this to the v0.21.0 milestone Nov 25, 2020
@YourTechBud YourTechBud modified the milestones: v0.21.0, v0.20.0 Dec 5, 2020
@YourTechBud
Copy link
Collaborator

Done

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

2 participants