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

adding two different Bearer Tokens across the application #397

Open
amgad01 opened this issue Aug 16, 2021 · 1 comment
Open

adding two different Bearer Tokens across the application #397

amgad01 opened this issue Aug 16, 2021 · 1 comment
Labels
collection-limitation Issue can not be solved or supported due to postman collection limitations. feature New feature request, accepted for probable development importer

Comments

@amgad01
Copy link

amgad01 commented Aug 16, 2021

I am trying to add two different Authorization bearer tokens across the application (i.e. internalBearerAuth and externalBearerAuth in the securitySchemes :

>  securitySchemes:
>     externalBearerAuth :     
>       type: http
>       scheme: bearer
>       bearerFormat: JWT    
>     internalBearerAuth :           
>       type: http
>       scheme: bearer
>       bearerFormat: JWT   
>       

and use them in different requests, but after the conversion i find both different types converted into the same output: `

"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": ""
}
]
}`

@VShingala
Copy link
Member

@amgad01 ATM, Postman collection format only supports one security scheme / Authorization defined at a time. This means even if module adds support for this, Postman collection doesn't persist it.

@VShingala VShingala added feature New feature request, accepted for probable development collection-limitation Issue can not be solved or supported due to postman collection limitations. labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collection-limitation Issue can not be solved or supported due to postman collection limitations. feature New feature request, accepted for probable development importer
Projects
None yet
Development

No branches or pull requests

3 participants