-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.9
Python version
3.8
Steps to Reproduce
- Create new group called 'Users' in Netbox admin
- Add settings to configuration.py for remote auth and default group:
# Remote authentication support
REMOTE_AUTH_ENABLED = True
REMOTE_AUTH_BACKEND = 'social_core.backends.azuread_tenant.AzureADTenantOAuth2'
REMOTE_AUTH_DEFAULT_GROUPS = ['Users']
REMOTE_AUTH_GROUP_SYNC_ENABLED = False
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_RESOURCE = '[redacted]'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY = '[redacted]'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET = '[redacted]'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID = '[redacted]'
- New user authenticates using the Azure auth provider into Netbox
- User is added to Netbox, but user is not added to 'Users' group
Expected Behavior
New users should be added to the group(s) indicted by the REMOTE_AUTH_DEFAULT_GROUPS setting.
Observed Behavior
User is not added to group on sign-on.
max-baumgarten
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application