
i mean it should store data right like name and email so shouldnt we be able to add other data like maybe nickname

no you are accually not able to do it, you cant even know JWT_SECRET

in JWT is only userId of user and $id and $createdAt

ok so now imagine i log in using create email session and as jwt takes no params im assuming there is some way that it fetches the email id and returns the userid am i correct?

yes, you send your session with fetch and then you gen JWT with userId

Appwrite will get your userId from session

Explain me this with an example sir.

jwt has already your userId

Thank you @otik and @animeyeet

anything for @firestorm

mark it as solved!

No no yea ill mark it

Just figuring out how

How do i make it as solved? 💀

edit post and add [SOLVED]
to the beginning of the title
Recommended threads
- I am trying to run appwrite storage list...
Hello! I am trying to use a command to return all of my files from my bucket. This is the cmd I am currently running: "appwrite storage list-files --bucket-id <...
- nextjs site template gets 500 for /v1/pi...
whats the right way to configure this? do i need to deploy a function? im loosing my hair and i can't get a nextjs site to work. pls help
- WebSocket connection failed - Realtime g...
I am using appwrite cloud + angular (appwrite 21.2.1). On Chrome, when I have a realtime subscribtion and I reload the page or navigate to another page, realtim...
