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

Implement kid support to tokens #2

Merged
merged 15 commits into from
Jun 9, 2024
Merged

Implement kid support to tokens #2

merged 15 commits into from
Jun 9, 2024

Conversation

Captain-ALM
Copy link
Member

This pull request implements kid support for multiple keys being possible on a back-end.
The kid is stored in the header portion and allows for the selection of the key known by the ID provided.
If no ID is provided, the stored 'default' key is used instead.

This closes #1

Add key_store implementation.
Add key_store support to signer and verifier
Fix MJwt func naming.
Move seperate errors.New to a global var
@Captain-ALM Captain-ALM requested a review from mrmelon54 June 9, 2024 18:35
@mrmelon54 mrmelon54 marked this pull request as draft June 9, 2024 18:58
@Captain-ALM Captain-ALM marked this pull request as ready for review June 9, 2024 19:41
Copy link
Member

@mrmelon54 mrmelon54 left a comment

Choose a reason for hiding this comment

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

LGTM

@mrmelon54 mrmelon54 merged commit 690b9f9 into main Jun 9, 2024
2 checks passed
@Captain-ALM Captain-ALM deleted the wip-key-store branch June 9, 2024 21:02
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.

Support the kid field on tokens
2 participants