K
Kinde9mo ago
Kenny

redirect

Is it possible to support dynamic post-login redirects instead of changing the KINDE_POST_LOGIN_REDIRECT_URL env using something like a query parameter? I'm using sveltekit and a solution where I pass in something like /api/auth/login?postLoginRedirect="xyz" or /api/auth/login?redirect="xyz" would be ideal for this imo.
4 Replies
sszczep
sszczep9mo ago
@Kenny have you tried using post_login_redirect_url=<url>? I just skimmed through the code but should work.
Kenny
KennyOP9mo ago
Where exactly would I put that in? As an anchor attribute?
sszczep
sszczep9mo ago
As an url parameter, just like in your original message
onderay
onderay9mo ago
Thanks for helping @sszczep @Kenny did this resolve it for you?
Want results from more Discord servers?
Add your server