Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Automatically refresh token #37

Open
afilp opened this issue Jul 19, 2018 · 1 comment
Open

Automatically refresh token #37

afilp opened this issue Jul 19, 2018 · 1 comment

Comments

@afilp
Copy link

afilp commented Jul 19, 2018

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!)

@afilp
Copy link
Author

afilp commented Nov 13, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant