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

Bearer access token #118

Merged
merged 10 commits into from
Mar 8, 2024
Merged

Bearer access token #118

merged 10 commits into from
Mar 8, 2024

Conversation

marcoshuck
Copy link
Collaborator

@marcoshuck marcoshuck commented Mar 4, 2024

This PR adds a new gRPC interceptor to use in conjunction with the changes introduced in the auth library: gazebo-web/auth#29

Allows validating not only JWT tokens but also access tokens.

The discussion of integrating both mechanisms under the abstraction has been left as future work.

@marcoshuck marcoshuck self-assigned this Mar 4, 2024
@marcoshuck marcoshuck requested a review from AlejoAsd March 4, 2024 19:44
@marcoshuck marcoshuck marked this pull request as ready for review March 4, 2024 19:46
middleware/auth_access_token.go Outdated Show resolved Hide resolved
middleware/auth_access_token_test.go Outdated Show resolved Hide resolved
@marcoshuck marcoshuck merged commit 300860f into main Mar 8, 2024
4 checks passed
@marcoshuck marcoshuck deleted the feature/bearer_access_token branch March 8, 2024 14:07
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.

2 participants