-
Notifications
You must be signed in to change notification settings - Fork 30
AuthSecurityError at /auth/redirect Failed to match request state with session state #6
Comments
Any update on above issue as i am also facing same issue. |
i am using mac os |
I also had that problem but only got it when I ran django on my local machine. |
I had my work laptop switched off for 3 days and today when I brought it back on and ran PyCharm and went to localhost:8000 in the browser and signed in using Microsoft AD, I got : http://localhost:8000/auth/redirect?code=0.xxx#
I don't know how all of a sudden this is happening because no code was changed in those 3 days. I even cleared cache and cookie data for the last 7 days and still in vain. Same thing happening in another browser. |
+1 Also have this issue. @bgavrilMS any ideas about a possible solution? |
Hi @morfaer and others. @rayluo found some issues with this sample and rewrote it - see https://github.com/Azure-Samples/ms-identity-python-webapp-django We will deprecate this one or replace with the new one. |
For what it is worth; I was able to sign in with my home tenant and a test tenant. First client who tried to sign in got the above error. I had them go to the /logout route to completely sign out and then log back in with SSO, and then it worked... Will come back and update here if I see the issue again |
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: