-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Session value state missing #166
Comments
Couldn't reproduce following your steps, you have cookies enabled? |
I checked does incoming request have cookies. And it is:
|
And what about the session values in that session? |
@xen, did you managed to fix this? I got into the same issue some hours ago and found that the problem was by a wrong secret key, once I've updated it, it started to work. |
I had same problem in flask_example with google-oauth2. Tried from 0.1.19 to latest commit, only after removing SESSION_PROTECTION = 'strong' from settings.py - problem gone. |
@a1exs, I recall removing that setting too, maybe that did the trick, if that's the case this issue seems relevant maxcountryman/flask-login#137 |
Yes, after update Flask-Login from 0.2.9 to latest commit works fine with SESSION_PROTECTION = 'strong'. Thanks! |
Awesome, @xen, could you check if that works for you? |
Great, I'll check now. Sorry for my silence. |
I've checked. Looks like it working with or without |
Thanks! Closing... |
I'm getting weird
AuthStateMissing: Session value state missing.
error with every backend using Flask. When I sent pull request last time everything was working, probably something were updated in my environment and I'm getting this error now. I have no ideas why it is not working, already spent some time, but it can be possible something very obvious.Step to reproduce:
python-social-auth/examples/flask_example
folderSOCIAL_AUTH_*
backend keys insidesettings.py
.(venv)$ python manage.py runserver
Packages versions list (
pip freeze
):The text was updated successfully, but these errors were encountered: