-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deleteSession API removes browser's cookieFallback #1193
Labels
bug
Something isn't working
Comments
eldadfux
added a commit
that referenced
this issue
May 28, 2021
…ng-fallback-cookie fixes deleteSession API removes browser's cookieFallback #1193
So looks like this fix will be implemented in a future version? Thanks for the prompt response/fix implementation! |
I would keep this open until the release is actually out. |
This is now fixed and available as part of Appwrite 0.9: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
Using .account.deleteSession('[SESSION_ID]') with SESSION_ID that is not the current one results in the session with SESSION_ID being removed (expected behavior) but also somehow removes the browser's Local Storage cookieFallback value (which makes the browser think the current session is destroyed, even though the session is still alive on appwrite).
Have you spent some time to check if this issue has been raised before?
Yep.
To Reproduce
Expected behavior
Session with Session ID is destroyed.
Actual Behavior
Session with Session ID is destroyed (Good) and cookieFallback value is deleted (Bad)
Before API
![image](https://user-images.githubusercontent.com/5733209/119562364-3e0fa200-bd74-11eb-9f17-2eff6bbd3403.png)
After API
![image](https://user-images.githubusercontent.com/5733209/119562464-5b447080-bd74-11eb-8fe4-180e82964cfb.png)
Your Environment
React/Nodejs Implementation
Self Hosted Appwrite installation via Docker
The text was updated successfully, but these errors were encountered: