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
@Kenny have you tried using post_login_redirect_url=<url>? I just skimmed through the code but should work.
Where exactly would I put that in? As an anchor attribute?
As an url parameter, just like in your original message
Thanks for helping @sszczep
@Kenny did this resolve it for you?