Skip to content
Discussion options

You must be logged in to vote

for anyone else that comes across this .. there were 2 issues.

1, you need to also make sure to include the tenant ID
2. You can't use a self-signed SSL cert. You need a real SSL cert issued by a cert authority.

your configuration.py should look like this

# Remote authentication support
REMOTE_AUTH_ENABLED = False
#REMOTE_AUTH_BACKEND = 'netbox.authentication.RemoteUserBackend'
REMOTE_AUTH_BACKEND = 'social_core.backends.azuread.AzureADOAuth2'
SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = '00119922883377446555'
SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = 'aabbccddeeffgg'
SOCIAL_AUTH_AZUREAD_OAUTH2_TENANT_ID = '00119922883377446555'
REMOTE_AUTH_HEADER = 'HTTP_REMOTE_USER'
REMOTE_AUTH_USER_FIRST_NAME = 'HTTP_RE…

Replies: 1 comment

Comment options

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