akash-network / console

Deploy docker containers on the Akash Network
https://console.akash.network
Apache License 2.0
85 stars 55 forks source link

fix(auth): fix logout button not logging out completely #446

Closed Redm4x closed 2 weeks ago

Redm4x commented 2 weeks ago

An issue with nextjs-auth0 was causing the logout process to not be completed. That caused the user to be immediately logged back in when clicking "login" again without the need to select an account and enter password.

There is still an open issue for this. This PR fixes the behavior by doing the redirect with window.location and using <a> tag instead of using the nextjs router and <Link> tag.