Skip to content

Is there a way to use basic auth to get the user's token? #5832

Answered by candlerb
Lon1 asked this question in Q&A
Discussion options

You must be logged in to vote

Netbox doesn't issue tokens programatically. You would have to write your own token-issuing service.

Alternatively, you can put a proxy in front of Netbox, and apply whatever authentication you like: use REMOTE_AUTH for the proxy to use a header to forward the authenticated ID to Netbox.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lon1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants