-
Notifications
You must be signed in to change notification settings - Fork 270
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
Custom ApiKeyAuth is not being honoured #136
Comments
hi @michaelwiles. ok so there are multiple things at work here. in principle, you did everything right. The problem here is that your operation likely has a this feature was always meant as a measure of last resort because of those non-obvious reasons. we need to clarify that in the documentation. i kind of regret adding it at all. the better approach would be a simple extension. If your auth method has a sidenote: i found a bug for DRF's |
@michaelwiles, sry that this fell off the wagon. ab979c1 addresses this issue, by appending SECURITY everywhere (if provided). this is the preferred way for |
So I set the securitySchemes as specified in the docs:
That correctly brings up the option in the authorize:
Then I include my token in that field:
But then when I attempt to execute on an end point the Authorization header is not included...
Am I doing something wrong? The header is included if I use the default tokenAuth (http, Bearer) But it prefixes what I enter with Bearer which my auth mechanism doesn't support.
The text was updated successfully, but these errors were encountered: