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
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...
- [SDK] [Postman] Can't post to Users usin...
when trying to post to users I'm getting missing scopes and at the same time I'm getting an authorised scope How do I generate an API and get around this issue
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...