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 for OAuth 2 in Requests for Authentication #45

Open
twwd opened this issue Jan 30, 2023 · 3 comments
Open

Support for OAuth 2 in Requests for Authentication #45

twwd opened this issue Jan 30, 2023 · 3 comments

Comments

@twwd
Copy link

twwd commented Jan 30, 2023

It would be great if I could specify OAuth 2 options to automatically fetch an access token from an security token service like Keycloak and use it with the Authorization header.

E.g., Insomnia has this feature:

Screen Insomnia OAuth 2

@jonrosner
Copy link
Contributor

Would you prefer that on a request level or rather have it on an environment / collection level?

@twwd
Copy link
Author

twwd commented Feb 1, 2023

Since I need different clients and partially different grant types/flows (e.g., sometimes Direct Access Grant and sometimes Authorization Code Flow), I would prefer on request level. Nevertheless, it would be awesome to specify defaults on environment level.

@binaryfire
Copy link

Would it be better to have this under an "Authorization" tab with a dropdown to select the method (Bearer, Basic, oAuth2 etc)? That's how Postman, Hoppscotch etc do it. Seems like a more organised approach.

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

No branches or pull requests

3 participants