Replies: 2 comments 1 reply
-
Hmm, the deployed version of the guide you're mentioning is here: https://example-next-13-next-auth-next-intl.vercel.app After you login with admin/admin, you can visit the Maybe you can find something when comparing your app with the example? |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. Everything works great locally, but when deployed on Vercel; Here is my repo: https://github.com/Albosonic/Yachty Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
-
Hello, I followed this guide for combining next-auth and next-intl. It works on the local dev and production environment. However, the live version deployed by Vercel doesn't work.
Here's what I diagnosed:
What is the problem ?
I have private pages such as '/my-learning', '/saved', and '/profile'. These pages are protected before signing in, the app redirects users to the '/sign-in' page and can be shown after signing in with credentials or providers in both local dev env and prod build.
In the live version, even though users successfully sign in, these pages stay protected but the profile icon in the sidebar and the content in the homepage appears.
May you please help me to solve this problem ? I'm really frustrated :(
Beta Was this translation helpful? Give feedback.
All reactions