calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
691 stars 363 forks source link

Google login redirects back to login page #217

Closed revabec122 closed 1 year ago

revabec122 commented 1 year ago

Having an odd issue and I'm curious if its just me or if others are able to recreate it. Conditions:

  1. Google API credentials added under GOOGLE_API_CREDENTIALS={} in .env. Confirmed working because no issues with the Google Calendar integration functions.
  2. GOOGLE_LOGIN_ENABLED=true added to .env

This leads to the "Login with Google" button appearing on the login page. However, when I use it, there seems to be an odd effect:

  1. Click "Login with Google button"
  2. Select the corresponding Gmail account
  3. Successfully log-in and see your event types page
  4. Within a couple seconds, you get logged-out and redirected to the login page
  5. This repeats every time you hit "Login with Google" and the only way to login and stay logged-in is with username/password

The "Login with Google" is functionally useless as a result. It would be helpful to know if anyone else is running into this issue so I can narrow down whether its a problem with my specific setup.

revabec122 commented 1 year ago

Disregard! I don't know why but after taking down and bring up the container a few times, it seems to be working with nothing having been changed.