Sign out after revoking current session

After revoking the current session, getSessionCookie in the middleware still return a value so it's act like the user is signed in. How can I prevent this ?
3 Replies
Ping
Ping2w ago
Try using .signOut instead. You may also have cookie cache enabled which could be why.
Armand
ArmandOP2w ago
This will only work for the current session. I've just tried disabling session cache and got the same result.
KiNFiSH
KiNFiSH2w ago
it might be becasue of cookie is not purged properly during revoke ? have u checked that

Did you find this page helpful?