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

Add BearerToken with allowlist example #12

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

emcfarlane
Copy link
Collaborator

Creates a new example based on bearer tokens, a common authentication requirement, with a new helper method BearerToken to assist. This is used to provide the example. A new method Echo is added to the example ping service to showcase conditionally applying authentication based on the Procedure name.

Resolves #11

@Galaf
Copy link

Galaf commented May 28, 2024

Is it possible to prioritize this to add Bearer Token support?

Do you need anything to finish this PR and then proceed with release?
I'm happy to help if need be :)

Creates a new example based on bearer tokens, a common authentication
requirement, with a new helper method BearerToken to assist. This is
used to provide the example. A new method Echo is added to the example
ping service to showcase conditionally applying authentication based on
the Procedure name.

Signed-off-by: Edward McFarlane <emcfarlane@buf.build>
authn.go Outdated Show resolved Hide resolved
Signed-off-by: Edward McFarlane <emcfarlane@buf.build>
@emcfarlane emcfarlane merged commit 0d60722 into connectrpc:main Oct 2, 2024
7 checks passed
@emcfarlane emcfarlane deleted the ed/allowListExample branch October 2, 2024 14:23
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.

Provide guidance on how to apply authentication conditionally
3 participants