K
Kinde12mo ago
jiggyboy

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.
8 Replies
onderay
onderay12mo ago
@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?
jiggyboy
jiggyboyOP12mo ago
Yup I’m using vercel for deployment and the redirect uri passed as params is correct @Andre @ Kinde
onderay
onderay12mo ago
Thanks for letting me know @jiggyboy let me know if this guide helps you? https://youtu.be/ZNuE7CkB6ck?si=nc03Zzh0LWEmntQN
Kinde
YouTube
How to deploy a Kinde Next.js app with Vercel
Software engineer Peter takes you through how to deploy a Kinde app using Vercel, and covers the common pitfalls involved. 00:00 - App demo 0:46 - Creating a project on Vercel 1:19 - Initialising Github repo 2:49 - Setting up environment variables on Vercel 4:00 - Deploying and visiting the app on the Vercel Domain 5:13 - Updating environment ...
jiggyboy
jiggyboyOP12mo ago
Hi @Andre @ Kinde , I am currently stuck here sharing a few screenshots
jiggyboy
jiggyboyOP12mo ago
No description
No description
jiggyboy
jiggyboyOP12mo ago
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
peteswah
peteswah12mo ago
where is kindesession from? Looks like its happening before setup is called Are you using useKindeBrowserClient here?
jiggyboy
jiggyboyOP12mo ago
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 🙏
Want results from more Discord servers?
Add your server