aor-firebase-client
aor-firebase-client copied to clipboard
Automatically refresh token
Firebase token seems to expire every 1 hour.
This causes problems when there are actions to be made, is there a way to automatically refresh the token in the background before the hour expires? Or some other solution?
We want the logged-in user to remain logged-in until they choose to logout.
Thanks.
P.S. Similar discussion here (for Android apps though):
https://stackoverflow.com/questions/38350843/how-to-handle-custom-firebase-token-expiry-in-firebase-3-x-x
P.S. Using react-admin v2.1.2 (please update for latest react-admin, thanks!)
May I ask this again? I am not sure how to make it work, to automatically refresh the token so that the user is not logged out, unless they want it to.
Thanks!