OpenAPI showing 'basic' auth as option in securityDefinitions, should indicate use of Authorization header #1826
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation
Environment
Description
get the openapi spec; for example, running a laptop instance, this URL would be: "http://0.0.0.0:32768/api/docs/?format=openapi". or you could use use curl or wget.
at the very bottom, you will see "securityDefinitions" indicating basic auth. basic auth is not supported in Netbox 2.2.8.
Here is an example of a system that uses request headers to store a token. In this example, the header key is called "AUTHTOKEN". For Netbox, this would be "Authorization", as documented on the read-the-docs site.
The text was updated successfully, but these errors were encountered: