Please look at detail.
Opened this issue · 1 comments
samiulllah commented
@icyJoseph I past we had an interaction on GitHub where you answered NEXT JS question of mine. I've another bug but I was not able to reach out to you somehow, can you review it at --- >https://stackoverflow.com/questions/73425138/next-js-auth-signout-session-not-removed
in your free time.
samiulllah commented
@icyJoseph Issue is resolved.....I was an error here
<li> <a href="/auth" onClick={logoutHandler}> {session?"Logout":"Login"}</a> </li>
Silly mistake was that I used anchor tag and its href and was expecting logoutHandler to be called on click. As the anchor tag was redirecting me to auth page I was thinking it's logging out but not removing session 🤣 🤣 🤣 🤣. Please remove the issue I think I just ruined your repo.