Rank 2: Process
i mean it should store data right like name and email so shouldnt we be able to add other data like maybe nickname
Votes
0
Replies
14
Participants
Unknown
Messages
15
Rank 2: Process
i mean it should store data right like name and email so shouldnt we be able to add other data like maybe nickname
Rank 2: Process
no you are accually not able to do it, you cant even know JWT_SECRET
Rank 2: Process
in JWT is only userId of user and $id and $createdAt
Rank 2: Process
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?
Rank 2: Process
yes, you send your session with fetch and then you gen JWT with userId
Rank 2: Process
Appwrite will get your userId from session
Rank 3: Container
Explain me this with an example sir.
Rank 2: Process
jwt has already your userId
Rank 2: Process
Thank you @otik and @animeyeet
Rank 2: Process
anything for @firestorm
Rank 2: Process
mark it as solved!
Rank 2: Process
No no yea ill mark it
Rank 2: Process
Just figuring out how
Rank 2: Process
How do i make it as solved? 💀
Admin
edit post and add [SOLVED] to the beginning of the title