Having problems with logout URLs
I have them configured in my settings, but I'm still getting sent to the Kinde logout page. Screenshots:
12 Replies
if any kinde staff want to be able to try it, DM me so i can give you a temporary subscription (otherwise the log out button gets hidden 😛 )
@e3ndr what Kinde SDK are you using?
"@kinde-oss/kinde-auth-pkce-js": "^3.0.30"
Looks like you've done everything right- just out of curiosity have you tried hardcoding the redirect uri in prod?
could it be something to do with window.location.origin
no clue why that would make a difference. the login redirect uri works perfectly fine
(i do this so i can use localhost in dev and the domain in prod ofc)
Sorry I meant the logout uri
still, the other works just fine
Fair enough, my thinking was that the sdk sends you to the logout_uri after logging out if the logout uri is listed under your allowed logout URLs in Kinde.
So maybe there is a mismatch with the urls in prod that isn’t happening when in development
it occurs in development too
Ahhh snap gotcha
Have you tried removing the trailing slash?
oh. my. god
that was
ffs. That's been bugging me for ages too... trailing slash solved my problem too haha