Change sign out timeframe in Android app
Options
I have launched an app to the playstore beta channel and have it installed on my phone. It has Auth setup through Xano.
All working well, however it logs me out every couple of hours. My app is Draftbit front end and Xano backend - is the log-out time something I can address in Xano? Is it connected to some sort of timeout attached to auth tokens?
Thanks!
All working well, however it logs me out every couple of hours. My app is Draftbit front end and Xano backend - is the log-out time something I can address in Xano? Is it connected to some sort of timeout attached to auth tokens?
Thanks!
Comments
-
Hi ,
Inside the auto/login endpoint there is a create authentication token statement. You can specify the duration of the token in seconds.
If you wanted something 30 days it would be 60*60*24*30 = 2592000 -
Thanks Sean!! So simple and so powerful - love it!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback