Hello,
I have an app using flask-login. Latest versions of everything.
I have a login page, and using the login_user, I am able to start a session for the user. I am running this on localhost. python app.py
However, when I run the same code in a Docker container, the session is lost when I redirect to another page after logging in.
So, I log in, redirected to a page that requires login then Redirected to login page as there is no session.
current_user.is_authenticated = False after the redirect. The docker container is running behind gunicorn/gevent if that might be the cause of the issue. It works perfectly without the docker container/gunicorn. This is happening in chrome, did not try another browser
Hello,
I have an app using flask-login. Latest versions of everything.
I have a login page, and using the login_user, I am able to start a session for the user. I am running this on localhost. python app.py
However, when I run the same code in a Docker container, the session is lost when I redirect to another page after logging in.
So, I log in, redirected to a page that requires login then Redirected to login page as there is no session.
current_user.is_authenticated = False after the redirect. The docker container is running behind gunicorn/gevent if that might be the cause of the issue. It works perfectly without the docker container/gunicorn. This is happening in chrome, did not try another browser