2 months ago
Description: Mixpanel and Plausible combined into one tool
Category: Analytics
4 Replies
23 days ago
I've assigned a custom domain to the api and dashboard services. However, after assigning a custom URL openpanel.site.com
the login no longer works. I have set the env variable NEXT_PUBLIC_DASHBOARD_URL
to be my subdomain. When the login action happens the auth.signInEmail request is not being sent to the NEXT_PUBLIC_API_URL
nor the NEXT_PUBLIC_DASHBOARD_URL
variables which is causing the session cookie to not be set. Instead the auth is being sent to the auto-generated url from the deployment
Attachments
23 days ago
You don't need to change the environment variables - simply set your custom domain in the networking tab for any service with a domain, then remove the automatically generated domain and redeploy all services if it hasn't done so for you already.
six
You don't need to change the environment variables - simply set your custom domain in the networking tab for any service with a domain, then remove the automatically generated domain and redeploy all services if it hasn't done so for you already.
22 days ago
Thank you for the reply.
Right, that's what I did. I set the custom domain in the networking tab and they were auto populated to the env variables.
However the login request is still sent to the auto generated url even after deploy
stockotaco
Thank you for the reply. Right, that's what I did. I set the custom domain in the networking tab and they were auto populated to the env variables. However the login request is still sent to the auto generated url even after deploy
22 days ago
Did you generate a domain both for the API and for the frontend? Is your custom domain the only domain set (there should be no railway domains there).