REMOTE_AUTH_AUTO_CREATE_USER is being ignored. #1053
Unanswered
appleoddity
asked this question in
Getting Help
Replies: 1 comment
-
Confirmed that this is still a bug. Setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm implementing Azure AD SSO as described here: https://docs.netbox.dev/en/stable/administration/authentication/microsoft-azure-ad/
The environment variable
REMOTE_AUTH_AUTO_CREATE_USER
is being ignored. Even though I set it to false, a new user is created whenever I perform an SSO login through Azure AD.I tried setting
REMOTE_AUTH_AUTO_CREATE_USER=False
inenv/netbox.env
and in aconfiguration/extra-settings.py
file. I've even tried changing the default setting inconfiguration.py
(mentioned below).In addition, the documentation seems to be different from reality. All documentation I can find suggests this setting defaults to false. But, upon closer inspection of
configuration.py
(line 277) it is defaulting toTrue
:REMOTE_AUTH_AUTO_CREATE_USER = _environ_get_and_map('REMOTE_AUTH_AUTO_CREATE_USER', 'True', _AS_BOOL)
Beta Was this translation helpful? Give feedback.
All reactions