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
Hello, I am getting a KeyError when I run the code, specifically I see the following variable in the code user_identity = authn_response.get_identity() under the acs function as empty which is causing the KeyError later.
My Django version - 3.1.12
Python - 3.7.7
The value of 'authn_response' is a decoded xml saml response which contains the attributes being passed on from Okta. However, as mentioned above, when I use the user_identity = authn_response.get_identity() part of code, it doesn't return anything causing the KeyError in the next line that attempts to access the empty dict.
Can someone please help me with this issue?
The text was updated successfully, but these errors were encountered:
Hello, I am getting a KeyError when I run the code, specifically I see the following variable in the code
user_identity = authn_response.get_identity()
under the acs function as empty which is causing the KeyError later.My Django version - 3.1.12
Python - 3.7.7
The value of 'authn_response' is a decoded xml saml response which contains the attributes being passed on from Okta. However, as mentioned above, when I use the user_identity = authn_response.get_identity() part of code, it doesn't return anything causing the KeyError in the next line that attempts to access the empty dict.
Can someone please help me with this issue?
The text was updated successfully, but these errors were encountered: