You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm at 9:23:00 / 12:00:00 of the Youtube video and I was trying to test Stripe on production and I found that the login dialog kept popping up repeatedly after logging in.
After some debugging, I noticed that every time we were redirected to /configure/preview?id=, the /logout route was being called right away. The problem seems to be with the Logout button in the Navbar—when I commented it out, the issue stopped and I was redirected to Stripe correctly.
I haven't investigated deeper into why this happens, but if anyone has any ideas, that would be great to hear!
I'm at 9:23:00 / 12:00:00 of the Youtube video and I was trying to test Stripe on production and I found that the login dialog kept popping up repeatedly after logging in.
After some debugging, I noticed that every time we were redirected to
/configure/preview?id=, the/logoutroute was being called right away. The problem seems to be with the Logout button in the Navbar—when I commented it out, the issue stopped and I was redirected to Stripe correctly.I haven't investigated deeper into why this happens, but if anyone has any ideas, that would be great to hear!
Logout call:
After removing the logout button:
Working demo:
scrnli_9_5_2024_6-31-16.PM.mp4