Share feedback, ideas and get community help

T
Timoa
Offline, last seen 3 months ago
Joined November 9, 2024
Hi!

I started to write the TypeBot Helm Chart to deploy it easily on Kubernetes, but I have currently a bug with the NEXTAUTH_URL_INTERNAL ENV var.

The two pods (builder & viewer) are running well, but I need to use the NEXTAUTH_URL_INTERNAL env var to call the builder pod with his internal URL (http://typebot-builder.typebot.svc.cluster.local:3000) instead of the public URL that is protected by Cloudflare ZTN (https://chatbot-builder.timoa.com).

The issue is that the viewer pod is calling the NEXTAUTH_URL instead of NEXTAUTH_URL_INTERNAL and it fail to connect.

I looked into the code, and I found out that there is no reference to NEXTAUTH_URL_INTERNAL (only documentation), where the NEXTAUTH_URL is everywhere.

I'm ready to make the PR to add the Helm Chart support, but I need to fix this issue first 😅
1 comment
T