-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The user is not being redirected to the correct page after successful registration, instead, a login window continues to appear. Is there a setting that is incorrect? I have already obtained the latest code. #955
Comments
After successful registration, the page also redirects to the login page. |
I am also having issues with this and cannot login |
Same issue as well |
If you created the docker instances using |
I have same problem, even if you disable email verification or try to use -google_oauth i have same error |
You are probably using IP in your local network. Setting cookie only works with localhost or https:// domains as cookie was set as https only. You can try ssh tunning a local port (like 9000) to 8080 to your servers port and then accessing via http://localhost:9000 |
It's not deployed on localhost but the logs are from inside the docker container from docker compose, but the fact that cookie is working on https only should be put in official documentation. |
As you can see, 4 is returning |
I think problem here might be this line which uses default CookieTransport |
possible fix would be something along the lines # WEB_DOMAIN already imported
cookie_transport = CookieTransport(
cookie_max_age=SESSION_EXPIRE_TIME_SECONDS,
cookie_secure=WEB_DOMAIN.startswith("https://")
) thoughts? |
This should be extracted as configuration, because if it's purely internal use why should i be forced to use https ? |
That is the point, we only use secure cookies if you configured WEB_DOMAIN to start with |
|
The user is not being redirected to the correct page after successful registration, instead, a login window continues to appear. Is there a setting that is incorrect? I have already obtained the latest code.
The text was updated successfully, but these errors were encountered: