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
- Google Auth not working in a React App
Authentication with Google has failed. It redirects back to the signin route in React. Attached screenshots for configuration of Google console and Appwrite Go...
- Dokploy docker compose
Hey guys hope y'all doing well, I was wondering if anyone could share a working 1.8.0 docker-compose that works with Dokploy I tried making it but it just does...
- i need help!
I was working on my project and I just can't stop receiving this message. Is something wrong?