Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please look at detail. #16

Open
samiulllah opened this issue Aug 20, 2022 · 1 comment
Open

Please look at detail. #16

samiulllah opened this issue Aug 20, 2022 · 1 comment

Comments

@samiulllah
Copy link

@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
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant