yaade
yaade copied to clipboard
Support for OAuth 2 in Requests for Authentication
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:
Would you prefer that on a request level or rather have it on an environment / collection level?
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.
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.