You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea, this only happens sometimes for some users.
Any logs, error output, etc?
TypeError
argument of type 'NoneType' is not iterable
social_core/backends/microsoft.py in get_user_details at line 46
def get_user_details(self, response):
"""Return user details from Microsoft online account"""
email = response.get("mail")
username = response.get("userPrincipalName")
if "@" in username:
if not email:
email = username
username = username.split("@", 1)[0]
The exception occurs on this line if "@" in username:, only sometimes.
Here is the data from response var pulled from Sentry:
Expected behaviour
Login should complete.
Actual behaviour
Login fails to "complete",
TypeError
exception raises, server returns 500.What are the steps to reproduce this issue?
I have no idea, this only happens sometimes for some users.
Any logs, error output, etc?
The exception occurs on this line
if "@" in username:
, only sometimes.Here is the data from
response
var pulled from Sentry:The text was updated successfully, but these errors were encountered: