K
Kinde•5mo ago
summer_teng

LogoutLink is not redirecting to my desire URL

I tried to follow the instruction to set up my post logout route. However, it still redirect me to a default route instead of my home page. Does anyone have the same issue ? Or did I miss anything? Thank you
No description
No description
No description
No description
9 Replies
Daniel_Kinde
Daniel_Kinde•5mo ago
Hi, just to check, since you changed the environment variables on vercel, have you redeployed the application?
summer_teng
summer_tengOP•5mo ago
Yes, I did. I tried couple of times actually
summer_teng
summer_tengOP•5mo ago
Now it's not even let me login.... just keep loading
No description
summer_teng
summer_tengOP•5mo ago
Now I am keep getting this error.... I have restart a session multiple times, but still getting this. No clue at all. Please help.
No description
Oli - Kinde
Oli - Kinde•5mo ago
Hey @summer_teng, Sorry to hear you are experiencing this issue. A will reach out to Vercel expert team mate of mine tomorrow who will look into this when he has capacity Hey @summer_teng, Your issue has been fixed in the latest version (v2.3.6) of the NextJS SDK. Please update your NextJS SDK and let me know if you are still experiencing an issue.
summer_teng
summer_tengOP•5mo ago
Hello @Oli - Kinde Thank you for looking into the issue. However, I am still having the same issue after I upgrade my SDK to the newest version. It works find in my local tho... I have double check a few times of my Vercel setting, they are all correct... not sure where it went wrong
No description
Oli - Kinde
Oli - Kinde•5mo ago
Hey @summer_teng, My team mate is looking into this issue. Apologies for the inconvenience.
Peteswah
Peteswah•5mo ago
Hey @summer_teng sorry you're having this issue 😦 my hunch is using permanentRedirect instead of redirect my fix the problem
Oli - Kinde
Oli - Kinde•5mo ago
Hey @summer_teng, It seems like you are having a similar issue to a customer who posted in our Slack community here. @Peter (Kinde) - sent the attached video to the Slack community customer to explain the issue and a workaround to fix the issue. Are you able to review the video and see if Peter's explanation fixes your issue?
Want results from more Discord servers?
Add your server