I use createEmailPasswordSession in node-appwriter to get a session secret which I then store in the cookies. Then I create a SessionClient with the session secret from the cookies and try to do new Accoint(sessionClient).deleteSession(/* the session from the cookies */); but it returns ths error
If you want to delete the current session, you should use deleteSession('current')
oh my god im stupid ive been trying to fix this for ages
but just now i realized
this probably means it worked, right? ðŸ˜
Yeah, this means that the user isn't currently logged in
bruuuuh ðŸ˜
well, thank you x3
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- My account got banned without obvious re...
Hello, I’m a normal user of Appwrite. Today I found my account was banned suddenly, and I can’t log in normally. I have only been doing normal development and...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...