Skip to content

Multiple Authentication Keys #7

@corepay

Description

@corepay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions