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

Enable setting auth type at request time. #21

Open
Stubbs opened this issue Nov 27, 2024 · 0 comments
Open

Enable setting auth type at request time. #21

Stubbs opened this issue Nov 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Stubbs
Copy link

Stubbs commented Nov 27, 2024

Is your feature request related to a problem? Please describe.
In my app I am integrating with a forum and I want to be able to let users auth, but I also want to use an admin set of credentials to create forum threads as the site admin. The site admin uses client credentials and the normal users uses implicit grants (both OAth) so I need to be able to use tokens for users, but basic auth for the admin user, but I can only switch the auth type with config.

Describe the solution you'd like
Some kind of with function that mirrors withToken for auth ... withAuthScheme maybe.

@Stubbs Stubbs added the enhancement New feature or request label Nov 27, 2024
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

1 participant