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 authn middleware #69

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Implement authn middleware #69

merged 2 commits into from
Jul 4, 2024

Conversation

sevein
Copy link
Member

@sevein sevein commented Jul 4, 2024

This PR implements an authentication middleware based on connectrpc.com/authn. It handles API key authentication using Tastypie's ApiKeyAuthentication header scheme for backward compatibility, e.g.:

grpcui -H "Authorization: ApiKey test:test" -plaintext 127.0.0.1:63030

Fixes #61.

@sevein sevein marked this pull request as ready for review July 4, 2024 15:45
@sevein sevein merged commit 8cbae66 into ccp Jul 4, 2024
8 checks passed
@sevein sevein deleted the dev/authn-middleware branch July 4, 2024 15:48
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.

Problem: Admin API auth not implemented yet
1 participant