
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
- Can’t Select related collection in Relat...
Hello, I’m on Appwrite v1.7.4 trying to create a many-to-one relationship from my banks collection to users, but the related collections dropdown shows “No opti...
- New Provider isn't working | Invalid OAu...
Hallo, I set up a new provider in Appwrite. I followed all the documentation, I set up everything, I successfully ran both Appwrite console and backend, and I f...
- Appwrite Sites: Error At Deployment
Hello, I am using Appwrite 1.7.4 on a self-hosted instance and am experiencing an issue with Appwrite Site's manual deployment. ```powershell [12:44:43] [open-...
