-
-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uid not set on Azure AD authentication and NoneType error #70
Comments
Responses below from MS. Looks like I'm going to have to create a modified version of the azure ad backend that uses oid for uid and the email field for the email Given my configuration, should the Azure AD server be returning a UPN?
If so, where would the UPN be returned? Would it be returned in the JWT?
If not, 1) what information returned from the server can/should be used as a unique identified, or 2) what changes would I need to make to our Azure AD setup to get access to the UPN?
|
Hi @twschiller, How have you solved this? PS: I think the solution is using Azure AD v2.0 and using |
In our case, we now get a If you need to use the |
Actually i'm getting a similar call trace when trying to log twice from Azure AD:
The user gets properly created in the backend the first time, but as soon as i am trying to log again, i'm getting this. Is that related or should i file a new bug ? |
Hey guys, I'm getting the same error as @fthiery. Log in first time and user is able to log in. Log out using logout button (no disconnect), log back in and comes up with this:
I noticed it created two users, 1. was created on the first login attempt and 2. was created on the second. A also noticed that on the "user social auths" table there was a record for the first user but not the second: Does anyone have any answers? |
Found the issue in azuread_tenant.py and submitted pull request #298 |
#298 merged, thanks! |
I still get this error which then if I try to sign up with another user leads to
|
I'm trying to setup social-core, social-core-django, and Azure AD backend to authenticate using Azure Active Directory. The initial authentication works and creates a User and User Social Auth. However, subsequent attempts to authorize result in:
Some relevant information:
None
User.Read
permission)What I've tried so far:
Key questions:
upn
back to the client? Is it in the JWT?I'm going to follow up with Microsoft Azure AD support to understand why the UPN is not being returned given my configuration, and will include their response
The text was updated successfully, but these errors were encountered: