Multiple Security Schems and Auth function #2702
Replies: 1 comment 5 replies
-
Hi @programm-ingovals! I'm Dosu and I’m helping the openapi-ts team. Hey API uses a single To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So I am consuming an API which has multiple Security Schemas.
and the some endpoints support more than one with the SDK f.e. having this defined in one of these endpoints.
I'm thinking possibly that one issue here is that the auth function doesn't support Apikey, but not sure.
But lets say it was supported how would we use the auth function.
Currently the auth object pushed through contains
{ scheme: 'bearer', type: 'http' }
How would Hey Api determine between two or more schemas here?
Beta Was this translation helpful? Give feedback.
All reactions