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
cookie response by signOut will conflict with getSession/useSession which causes signOut failed
How to reproduce
1, npm run dev to run the Reproduction repo
2, login
3, click Gobug button to redirect to the logout page, and you will see it
Expected behavior
explicit cookie controlling order on client side. maybe some solution like stop the SessionProvider's events and auto refetching process when i want (e.g. when i need to call signOut)
The text was updated successfully, but these errors were encountered:
jcyuan
added
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Dec 12, 2024
Environment
System:
OS: Windows 10 10.0.19045
CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700KF
Memory: 13.07 GB / 31.83 GB
Binaries:
Node: 20.15.0 - D:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.7.0 - D:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.19041.4355
npmPackages:
next: ^14.1.4 => 14.2.18
react: 18.2.0 => 18.2.0
Reproduction URL
https://github.com/jcyuan/signout-not-work
Describe the issue
cookie response by
signOut
will conflict withgetSession/useSession
which causessignOut
failedHow to reproduce
1,
npm run dev
to run the Reproduction repo2, login
3, click Gobug button to redirect to the logout page, and you will see it
Expected behavior
explicit cookie controlling order on client side. maybe some solution like stop the SessionProvider's events and auto refetching process when i want (e.g. when i need to call
signOut
)The text was updated successfully, but these errors were encountered: