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
[bug]: google auth callback not working on self host #3989
Comments
Hey @Chronos77, please feel free to correct me if I got this wrong. After going through the complete login flow with Google successfully you are left back on the login screen not logged into Hoppscotch ? If this is the case is your instance running on HTTP ? Hoppscotch uses HTTP secure cookies which means unless its HTTPS the cookies don't get saved in the browser. |
Hello, thank you for your answer. This is indeed the case regarding my problem. Currently on the instance, I am using ports 3100, 3170 and 3000. Then we set up a load balancer which redirects an HTTPS url to one of its ports. I therefore suppose that we would have to run the hoppscotch server in https, is that right? Is there an easy way to put it in https? |
@Chronos77 yes, can you look into TLS certificates and how you can get them for your domain ? |
Is there an existing issue for this?
Current behavior
when I launch dockers and I try to connect to the admin part with google, it redirects me to the callback inquire however that does nothing and it leaves me on the login page, without any error in the admin logs or backend.
Steps to reproduce
Environment
Deploy preview
Version
Self-hosted
The text was updated successfully, but these errors were encountered: