When createEmailSession is used I see it creats multiple JWT Token , but I am not sure which one is stats that the user has logged in . So , can I use the createJWT and if yess can I name the token according to the name I like ?
I see that createJWT onyl creates it but does not set's it.
NeverMind find a library called Js-cookies does the job
But if there is a way to store some information in hte jwtToken and then verify it would be great.
The Appwrite JWT token is meant to allow another system to act on behalf of the user. It's not meant to store things. You can store things in user preferences or the database
For more info on Appwrite's cookies, see https://appwrite.io/docs/rest#client-auth
Recommended threads
- Realtime doesn't seem to work with Table...
Hi, I am trying to connect my tables rows with realtime on my react website, it connects, but I dont get the rows when a row is being created. I tried with Chan...
- Failed to receive appwrite reset passwor...
Hey there, I forgot my password for my appwrite account but when i use forgot password, i dont get an email to reset the account but when i try to create a new ...
- Domain Help
My domain estimately.me is verified in Appwrite DNS but SSL certificate keeps failing with: DNS problem: server failure at resolver looking up A for estimately....