Hi @Baptiste I'm using traefik to redirect to the proper service. In this environment we have a couple of web applications and typebot is one of them. I was inspecting the Signin page HTML and it seems that all src is based on the root path (/) and therefore it hits another service instead of typebot's service. Shouldn't those src urls be built with NEXTAUTH_URL and NEXT_PUBLIC_VIEWER_URL instead of just / ?
the NextAuth urls also seem to point to root, ie they redirect to /signin and /register instead of ${NEXTAUTH_URL}/signin or ${NEXTAUTH_URL}/register. Could I be missing some configuration?
Yeah no you are right, these variables are really meant to not have a path π
Add a reply
Sign up and join the conversation on Discord
","upvoteCount":0,"dateCreated":"2024-12-02T16:03:16.307Z","datePublished":"2024-12-02T16:03:16.307Z","dateModified":"2024-12-02T16:03:16.307Z","url":"https://community.typebot.io/does-typebot-runs-on-path-other-than-root-5bRqzSFps8jZ#178d46f2-34cf-4f38-8cc0-7be7864ac86b","author":{"@type":"Person","url":"https://community.typebot.io/members/b7cd1dc9-cb41-49c5-be33-19d603ce5f57","name":"ericchaves","identifier":"b7cd1dc9-cb41-49c5-be33-19d603ce5f57","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"the NextAuth urls also seem to point to root, ie they redirect to /signin and /register instead of ${NEXTAUTH_URL}/signin or ${NEXTAUTH_URL}/register. Could I be missing some configuration?","upvoteCount":0,"dateCreated":"2024-12-02T18:01:13.882Z","datePublished":"2024-12-02T18:01:13.882Z","dateModified":"2024-12-02T18:01:13.882Z","url":"https://community.typebot.io/does-typebot-runs-on-path-other-than-root-5bRqzSFps8jZ#37a8313d-3fc5-492d-9821-695e31e48d1d","author":{"@type":"Person","url":"https://community.typebot.io/members/b7cd1dc9-cb41-49c5-be33-19d603ce5f57","name":"ericchaves","identifier":"b7cd1dc9-cb41-49c5-be33-19d603ce5f57","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Yeah no you are right, these variables are really meant to not have a path π","upvoteCount":0,"dateCreated":"2024-12-05T16:58:04.671Z","datePublished":"2024-12-05T16:58:04.671Z","dateModified":"2024-12-05T16:58:13.232Z","url":"https://community.typebot.io/does-typebot-runs-on-path-other-than-root-5bRqzSFps8jZ#03af4c39-48ff-4b28-9843-95cd9a2404cc","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}}]}}