Hi,
I’m just wondering what the conditions are for a user being logged out and their sessionToken expiring?
Here is my login flow:
- get saved sessionToken from last successful login
- coronium:setSessionToken ( sessionToken )
- coronium:getMe ()
- if I get the user’s objectId then I start the app without having them login
- if I don’t get the objectId then I prompt them to enter their credentials and login
Is there anything suspect about this flow? Can I do anything to prevent sessions expiring so often?
Many thanks,
Andrzej on Coronium AWS 1.93.1