jonericcookOriginal post
Rank 1: Thread
I see here that if I create a JWT it will only live for 15 minutes. https://appwrite.io/docs/references/cloud/client-apple/account#createJWT
My app will be used offline for up to 12 hours and I need to be able to allow the user to still use it even if they can't be online.
My idea would be to have the user sign in and then set a token for a day or two and then once it expires lock them out and force them to sign back in.
I'm definately open to any ideas on how to achieve my goal.
Summary
Developers are concerned that the JWT created using the Appwrite library will only live for 15 minutes. They need a solution to allow users to use the app offline for up to 12 hours. One suggested idea is to have users sign in and set a token for a day or two before expiring it, at which point they would have to sign in again.