-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(authN): Redesign JWT token auth #394
base: main
Are you sure you want to change the base?
Conversation
7240fe3
to
6a63744
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good Job!
LGTM --> i would just like to have some specific comments to the verify function that make clear that we left out certain enforcements/verifications intentionally
eb0f0b3
to
7e776e4
Compare
In the description I cannot see the "related issues" nor the ones which the PR should close. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muy bien
Redesign JWT token authentication middleware to support additional/alternative authentication method
Split verify function for JWT token auth to make it more readable
7e776e4
to
0c9e99a
Compare
Redesign JWT token authentication middleware to support additional/alternative authentication method
Description
Implementation of the capability of having multiple auth mechanisms in place.
To register new auth method (JWT or oidc), function with Verify(c *gin.Context) error has to be implemented.
Currently only JWT token based authentication is used, oidc implementation with it's Verify method will be implemented in separate issue/PR.
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
What type of PR is this? (check all applicable)
Related Tickets & Documents
Added tests?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?
Checklist