-
-
Notifications
You must be signed in to change notification settings - Fork 571
Closed
Description
Hi,
trying to get Azure social working. copied an existing working setup, but getting this new error:
Exception Type: AuthMissingParameter
Exception Value: Missing needed parameter upn
Exception Location: /usr/local/lib/python3.12/site-packages/social_core/backends/azuread.py, line 82, in get_user_id
Raised during: social_django.views.complete
My settings.py:
SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = xxx
SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = xxx
SOCIAL_AUTH_JSONFIELD_ENABLED = True
SOCIAL_AUTH_USERNAME_IS_FULL_EMAIL = True
SOCIAL_AUTH_PROTECTED_USER_FIELDS = ['email',]
SOCIAL_AUTH_IMMUTABLE_USER_FIELDS = ['email', 'first_name', 'last_name']
Any ideas on how to investigate this ?
Cheers.
Metadata
Metadata
Assignees
Labels
No labels