Unexpected Logout #443
-
Hello! I implemented AuthenticateBackEnd as the documentation said. If it helps:
I would be grateful if you could help me. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hey, Can you post the flow example of the request? |
Beta Was this translation helpful? Give feedback.
-
With @aminalaee helps I recognized that this issue occurred because the session secret key generated every time a gunicorn worker killed or restarted. Thanks to @aminalaee |
Beta Was this translation helpful? Give feedback.
Hey,
I doubt it has anything to do with time, the SessionMiddleware used by default should be valid for two weeks.
Can you post the flow example of the request?
You are trying to access something like /admin/users and you are redirected to login page?
I think the 302 is when
token" in request. session
is False, so you are redirected to the login, but it's not clear why it's happening.