How I can use the cookie to know the user , is it contain any information like the access token in database or something else ?
TL;DR
You can use `account.get()` in appwrite to fetch user information. However, cookies stored locally do not provide information like access tokens. It's best to use `account.get()` for user details.When using appwrite, it's best to use account.get() to fetch user infomation.
As for cookies stored locally, I can't be sure
Recommended threads
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...
- Expected a value of type 'bool', but got...
I am trying to get current User, but get this error message when I do. I get back user prefs, but error comes from trying account.get() So I am getting User. I ...
- Problem accessing api via local host.
I think i set the Endpoint correctly in my config.ts als the cloud.appwrite url but when i try to create a user I get this Error message: Access to XMLHttpReque...