commudle/commudle-ng

Logout loop bug

Opened this issue · 2 comments

When a user logs out from one account and tries to sign in with another account it creates a loop.

After logging out from my first account the page shows up with URL
https://auther.commudle.com/?back_to=https:%2F%2Fcommudle.com%2Flogout

And after signing in again we will get redirected to https://commudle.com/logout

I think after signing out a user should be redirected to
https://auther.commudle.com/

Oh, thanks for citing this! Will be fixed soon :)

Hey @AmanRaj1608
I've been unable to reproduce the bug, here's what the flow in the code does:

Can you please try and see if it happens again and share some more details on (browser, device computer/mobile, which page are you clicking the logout button on)

Would be really helpful

When a user logs out from one account and tries to sign in with another account it creates a loop.

After logging out from my first account the page shows up with URL
https://auther.commudle.com/?back_to=https:%2F%2Fcommudle.com%2Flogout

And after signing in again we will get redirected to https://commudle.com/logout

I think after signing out a user should be redirected to
https://auther.commudle.com/