You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the maximum value I can set for authenticationValidityDurationSeconds?
I set it to 60 minutes but it's not working as expected! when this hour is over the user is not prompted to authenticate
my use case:
I am using biometric_storage to store the refresh_token for the user
my access token age is 15 minutes, & setting the authenticationValidityDurationSeconds to -1 will prompt the user to authenticate in every transaction (read & write)
and it is very bad UX to be using the app & suddenly a fingerprint prompt!
so what I have done is making the duration an hour, and during this hour I have my logic to check if the user really must authenticate or not
when the hour is over, I don't prompt anything and rely on this plugin, but the data is read & retrieved without a biometric authentication!
so
What is the maximum duration for authenticationValidityDurationSeconds?
Is there a better way to implement this using only this plugin? (making the biometric prompt depending on the transaction not the storage file)?
thanks in advance
The text was updated successfully, but these errors were encountered:
What is the maximum value I can set for
authenticationValidityDurationSeconds
?I set it to 60 minutes but it's not working as expected! when this hour is over the user is not prompted to authenticate
my use case:
I am using
biometric_storage
to store therefresh_token
for the usermy access token age is 15 minutes, & setting the
authenticationValidityDurationSeconds
to -1 will prompt the user to authenticate in every transaction (read & write)and it is very bad UX to be using the app & suddenly a fingerprint prompt!
so what I have done is making the duration an hour, and during this hour I have my logic to check if the user really must authenticate or not
when the hour is over, I don't prompt anything and rely on this plugin, but the data is read & retrieved without a biometric authentication!
so
authenticationValidityDurationSeconds
?thanks in advance
The text was updated successfully, but these errors were encountered: