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

Multiple Authentication Keys #7

Open
corepay opened this issue May 7, 2022 · 1 comment
Open

Multiple Authentication Keys #7

corepay opened this issue May 7, 2022 · 1 comment

Comments

@corepay
Copy link

corepay commented May 7, 2022

Hi, this is a cool lib! accidentally stumbled upon looking for a good UI to show off apis.

So any tips on how to set multiple required authentication keys? Have the spec setup correctly and have the 'AUTHENTICATE' button when using swagger that allows me to authenticate 2 apikeys that is applied on all requests where I have parameter for each operation...

"security": [ {
          "x-client-key": [],
          "x-api-key": []
 } ],

I don't see in your UI or in options any global AUTHENTICATION and when I try it out on an endpoint with the 'security' parameter setup above the modal pops up with both keys ready for input but I can only AUTHENTICATE one key at a time.

This may be a hard problem to solve, stoplight elements has the exact same issue, however rapidoc allows me to set a global authenticate or setup my securityScheme with both keys and use the security above on the endpoint no probs.

Ill look to see if there is anything I can see in your lib that may help but if this is a bridge too far appreciate letting me know.

@corepay
Copy link
Author

corepay commented May 7, 2022

PS: You should put your lib here https://openapi.tools/ and get some more exposure!

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

1 participant