K
Kinde10mo ago
Egemen

[Nuxt] callback URLs independent of the project base URL

Hello, I'm working on cloudflare pages, and it creates a website with a brach name. I am wondering if it is possible to add callback URLs independent of the project base URL in the environment file https://discord.com/channels/1070212618549219328/1217312698694631425
3 Replies
Daniel_Kinde
Daniel_Kinde10mo ago
Hi, could you expand on what you mean please and what you're trying to achieve?
Egemen
EgemenOP10mo ago
NUXT_KINDE_REDIRECT_URL=https://[deployment].[project].pages.devapi/callback NUXT_KINDE_LOGOUT_REDIRECT_URL=https://[deployment].[project].pages.dev NUXT_KINDE_POST_LOGIN_REDIRECT_URL=https://[deployment].[project].pages.dev/dashboard Thanks @quacksire , are they placeholders which are set automatically on cloudflare side ? @Daniel_Kinde In test environments, we need to test each branch/instance separately. that's why when we login, kinde should redirect the current instance @quacksire I don't want to set exact domain/subdomain, it should understand itself which redirect_url belongs to it. I will this one in preview mode, not production mode.
Daniel_Kinde
Daniel_Kinde10mo ago
So you're wanting the redirect URL used by the Kinde Module to be dynamic based on the origin? I can see it will be specific enough to know its coming from your app.
Want results from more Discord servers?
Add your server