-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hello,
I am running a self-hosted instance of the platform on my own VPS, deployed and managed using Dokploy. My instance is running on a custom domain (https://apse1.pa.email.useprivate.ai).
I am trying to integrate Google Calendar. After I successfully authenticate with Google, the application server incorrectly redirects my browser to a localhost:3000 address, which fails.
Steps to Reproduce:
- Go to the Calendar integration settings on a self-hosted instance (managed by Dokploy).
- Click to add a Google Calendar.
- Sign in with Google (authentication is successful).
- After Google redirects back to the server, the server then incorrectly redirects the browser to a
localhostURL.
Expected Behavior:
The app should redirect back to my production domain (e.g., https://apse1.pa.email.useprivate.ai/calendars).
Actual Behavior:
My browser is redirected to the following URL, which fails:
https://localhost:3000/cmh05tt43000bl70swpnin53q/calendars?error=connection_failed
This seems to be caused by missing or incorrect environment variables for the application's public URL. The app is likely defaulting to localhost:3000 instead of using its public-facing domain.
Thank You