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

Support customizable Authentication schemes #894

Open
dimas-b opened this issue Jan 27, 2025 · 3 comments
Open

Support customizable Authentication schemes #894

dimas-b opened this issue Jan 27, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@dimas-b
Copy link
Contributor

dimas-b commented Jan 27, 2025

Is your feature request related to a problem? Please describe.

PolarisPrincipalAuthenticatorFilter requires all auth tokens to be Bearer.

Describe the solution you'd like

It would be nice to allow other (possibly pluggable) Authentication schemes.

Also, it would be nice to allow running without the Authorization header (e.g. for testing purposes).

Describe alternatives you've considered

No response

Additional context

No response

@dimas-b dimas-b added the enhancement New feature or request label Jan 27, 2025
@adutra
Copy link
Contributor

adutra commented Jan 28, 2025

Should we modify the Authenticator.authenticate() method and pass the entire request to the authenticator, so that it can take any action it needs to take? (Similar to what we do to resolve the realm)

@dimas-b
Copy link
Contributor Author

dimas-b commented Jan 28, 2025

That was my immediate thought and I almost opened a simple PR for that, but then I realized that in principle one can leverage the Quarkus Authentication Mechanism framework, in which case application-level filters are not necessary as all... so I filed this issue for discussion / collaboration.

@flyrain
Copy link
Contributor

flyrain commented Feb 7, 2025

Thanks for filing this! I think this could be useful, but let’s take a step back and look at the use cases first. What other authentication schemes do users and developers care about? Any challenges we might face? cc @dennishuo @collado-mike @eric-maynard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants