Is there a way I can create a long running JWT session.
I want to create a native session in my mobile app I am using function for that and sending a JWT back for login I want that JWT to work for a long time in the app is there any way to make this long running JWT session.
Way to create long running JWT sessions
For now it's not possible to specify JWT duration
Instead you should create a new JWT
When it expires
I would suggest using the Appwrite cookie or fallback header instead of Appwrite's JWT
Can you tell me how to do that
https://appwrite.io/docs/apis/rest#client-integration
Also look on that page for the X-Fallback-Cookies
Can I get the cookies without setting a password
There's no way to make a session out of nothing at the moment. You might want to 👍 this issue: https://github.com/appwrite/appwrite/issues/3891
Thanks
[Solved]Way to create long running JWT sessions
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...