signOut
using API endpoint on server side is not working as expected for SvelteKitAuth package.- When we hit
/auth/signout
the request pass through but it does not invalidates session andsession-token
cookie still persist. - Client side
signIn
andsignOut
are working fine. Also/auth/signin
i.e.signIn
on server side works fine as well. It is justsignOut
part that is broken.
Live Demo: https://svelte-kit-auth-sign-out-bug.vercel.app/
GitHub issue URL: nextauthjs/next-auth#8134