Skip to content
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

Update azuread_tenant.py to fix NoneType error #298

Merged
merged 3 commits into from
Jan 14, 2019
Merged

Update azuread_tenant.py to fix NoneType error #298

merged 3 commits into from
Jan 14, 2019

Conversation

kowenhouston
Copy link
Contributor

Override the get_user_id function from AzureADOAuth2 as the uid does not exist in the azure ad tenant response and produces a "None" UID within the social authentication. See issue #70 . The Azureb2c backend has the exact same override function. Have tested locally and the changes work as expected.

Override the get_user_id function from AzureADOAuth2 as the uid does not exist in the azure ad tenant response and produces a "None" UID within the social authentication.  See issue #70 . The Azureb2c backend has the exact same override function. Have tested locally and the changes work as expected.
@kowenhouston kowenhouston changed the title Bug/azuread auth fails Update azuread_tenant.py to fix NoneType error Dec 16, 2018
@omab omab merged commit 1636799 into python-social-auth:master Jan 14, 2019
@omab
Copy link
Contributor

omab commented Jan 14, 2019

Thanks!

@kowenhouston kowenhouston deleted the bug/azuread-auth-fails branch January 15, 2019 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants