(Resolved was a browser caching issue) Hey team, I...
# docker
k
(Resolved was a browser caching issue) Hey team, I deployed the Calcom app docker container to my own url https://example.url.com. I'm using an external DB, so DATABASE_URL is set. My docker compose includes the steveltn/https-portal container, so that I can connect my https requests to port 3000 where the Calcom app is running. All of this works fine, but when I sign up from example.url.com/auth/login I get redirected to http://localhost:300/ (I had accidentally set the NEXT_PUBLIC_WEBAPP_URL to 300). Since then I have correctly set up NEXT_PUBLIC_WEBAPP_URL to point to example.url.com deleted all containers/volumes (did a system prune) and re-built the containers, but it has no impact. When I directly load example.url.com after signing in it correctly shows me the dashboard. Setting up a new team does so at http://localhost:3000 now, so does the profile page base url. I'm definitely missing some environment variable or setting here, and would appreciate some help. I have the following env variables set
Copy code
NEXT_PUBLIC_WEBAPP_URL
NEXTAUTH_SECRET
NEXTAUTH_URL <-- Same as WEBAPP_URL
NEXT_PUBLIC_NEXTAUTH_URL <-- Tried this as it was a suggested solution in the NextAuth repo
c
Re: your auth redirect. Are you using an external identity provider like Google? Re: teams setup. Are you referring to the "Create a new team" Step 1, where it shows the Team URL?
k
Yes, the identity provider is external. Also yes for the teams set up, when creating a new team. One thing to note everything works perfectly when using Safari, this is only happening in Chrome.
c
Have you tried an Incognito window in Chrome?
k
All redirects are correct with Safari/Firefox, just not with Chrome
It worked in Incognito facepalm
Apologies I should have checked this earlier
c
All good! we answer lots of questions related to that one