You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
👍
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: