Alternative to refresh tokens
I am building a mobile app in FlutterFlow (no-code solution for Flutter) and I am using Xano as my backend. I want to use Xano for authentication and call user specific data through API calls.Â
All this is possible but I run into an issue that I will describe below.Â
1. User enters email/password and clicks login
 2. API call to Xano is made and an AuthToken is received
 3. The user is logged in and sees the user specific data
 4. The AuthToken is expired after a certain time and the API calls fail until the user logs in agaun to create a new tokenÂ
The problem is that I do not want the users to have to login again every hour or even once a week. The usual approach that I know are refresh tokens, but Xano does currently not support those.Â
Also I do not want to store the login credentials of the users in local state for security reasons.Â
Does anyone know a way how I can handle this?Â
Thanks in advance!Â
Kind regards,
Robert
Other
5 replies