Welcome to the Kinde community

Updated 2 months ago

NextJs Redirect URL issue

I updated post_login_redirect_url variable to a new endpoint. However, kinde_callback redirects the user to an old endpoint.
A
j
p
15 comments
@jiggyboy This could be because the callback URLs in your Kinde application settings have not been updated. Are you able to double check that they match?
Yup I’m using vercel for deployment and the redirect uri passed as params is correct
Thanks for letting me know @jiggyboy let me know if this guide helps you? https://youtu.be/ZNuE7CkB6ck?si=nc03Zzh0LWEmntQN
Hi @onderay , I am currently stuck here
sharing a few screenshots
setup returning the authenticated users data
but kindesession mentions user authentication as false
i am using next 14.0.2, app router deployed on vercel
where is kindesession from?
Looks like its happening before setup is called
Are you using useKindeBrowserClient here?
Heyy thanks for the reply - I realized that creating an api and calling the kinde server session wasn’t working. Soon as I consumed the functions in my app instead, it started working.

Thanks! I think it was some issue in my code
Thanks again 🙏
Add a reply
Sign up and join the conversation on Discord