Having problems with logout URLs

I have them configured in my settings, but I'm still getting sent to the Kinde logout page. Screenshots:
No description
No description
No description
No description
12 Replies
Ɇ₦ĐɆⱤV₳₥₱łⱤɆ
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 😛 )
onderay
onderay10mo ago
@e3ndr what Kinde SDK are you using?
Ɇ₦ĐɆⱤV₳₥₱łⱤɆ
"@kinde-oss/kinde-auth-pkce-js": "^3.0.30"
peteswah
peteswah10mo ago
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
Ɇ₦ĐɆⱤV₳₥₱łⱤɆ
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)
peteswah
peteswah10mo ago
Sorry I meant the logout uri
Ɇ₦ĐɆⱤV₳₥₱łⱤɆ
still, the other works just fine
peteswah
peteswah10mo ago
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
Ɇ₦ĐɆⱤV₳₥₱łⱤɆ
it occurs in development too
peteswah
peteswah10mo ago
Ahhh snap gotcha Have you tried removing the trailing slash?
Ɇ₦ĐɆⱤV₳₥₱łⱤɆ
oh. my. god that was FacePalm
BeakerTeck
BeakerTeck10mo ago
ffs. That's been bugging me for ages too... trailing slash solved my problem too haha
Want results from more Discord servers?
Add your server