KindeK
Kinde16mo ago
2 replies
2009average

Invalid KINDE_REDIRECT_URL: Invalid URL

I keep getting this message and it's self-explanatory but I have the correct url entered in my env file like this :

http://localhost:5173/api/auth/callback

I created the folder/file inside the api/[...KindeAuth]/callback/+page.svelte
I also entered that in the app dashboard admin section in kinde.com

Yet, I keep getting the invalide kinde_redirect_url : invalid url??

Here is my whole env file :

KINDE_AUDIENCE=your_kinde_api
KINDE_CLIENT_ID=fab961ce34da
KINDE_CLIENT_SECRET=CWzom
KINDE_ISSUER_URL=https://sveltek.kinde.com
KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:5173/api/auth/callback
KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:5173
KINDE_REDIRECT_URL=http://localhost:5173/api/auth/callback
KINDE_SCOPE=profile email offline openid
KINDE_USER_EMAIL_TEST= // An user has existed in your organization
KINDE_USER_PASSWORD_TEST=
KINDE_AUTH_WITH_PKCE=
KINDE_DEBUG=false
Was this page helpful?