postman-app-support
postman-app-support copied to clipboard
Ability to define multiple OAuth2.0 tokens in a single collection
Is there an existing request for this feature?
- [X] I have searched the existing issues for this feature request and I know that duplicates will be closed
Is your feature request related to a problem?
No necessarily. I have a single API with multiple authentication policies so i currently have to define these different token requests as stand alone requests and then save the access token to a single collection variable.
Describe the solution you'd like
Ideally i would like to be able to define multiple oauth2.0 token configurations in a single collection. Make token name a required unique field and then select the configuration by token name for the current request.
Describe alternatives you've considered
The alternative as far as i can tell is to do what we are currently doing which is to define the different token requests as full collection requests and then use the tests feature to store the tokens in a collection variable. That way whichever login request i used last is the one which will currently be stored in the token variable. This is usable but the oauth2.0 auth feature is great and it would be good to be able to use it.
Additional context
No response