Back

Do i need to delete a_session_console cookies ?

  • 1
  • Auth
  • Cloud
IMxSuhasTheBoy
7 Aug, 2024, 05:53

Using appwrite client to handle account auth methods login logout.

i do login- with credentials, on the browser the cookies value is being set from Domain: .cloud.appwrite.io as Name: a_session_[project_id], also From Domain: .appwrite.io as Name: a_session_console

I do logout- only the cookies named a_session_[project_id] is getting deleted rest cookie values remains in my browser

probably that causing user : guest role 401 error.

do i need to someway delete those remaining cookies too ?

attachment: this is when logged in :

TL;DR
The developer is facing an issue where cookies are not getting deleted properly after logging out using the Appwrite client. This is causing a 401 error. They are wondering if they need to delete the remaining cookies as well. It is recommended to delete all relevant cookies stored on the browser to resolve the issue.
IMxSuhasTheBoy
7 Aug, 2024, 05:54

attachment: this is after logout

IMxSuhasTheBoy
7 Aug, 2024, 05:57

@Steven can please guide me

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more