yaade icon indicating copy to clipboard operation
yaade copied to clipboard

Support for OAuth 2 in Requests for Authentication

Open twwd opened this issue 2 years ago • 3 comments

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

twwd avatar Jan 30 '23 10:01 twwd

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

jonrosner avatar Jan 31 '23 22:01 jonrosner

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.

twwd avatar Feb 01 '23 07:02 twwd

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.

binaryfire avatar May 22 '23 09:05 binaryfire