Persistence with logins #401
-
I don't know if it's normal, but when I refresh the page (F5) after a login, I'm disconnected. FirebaseAuthentication.getCurrentUser() returns a null (while directly after the login, it did return the user) Should i create our own automatic login system? If so, I don't understand how to do it since there doesn't seem to be a function to login with creditentials. Thank you in advance for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
robingenz
Jul 8, 2023
Replies: 1 comment
-
You need to call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ruelustin5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to call
initializeAuth
withpersistence
set toindexedDBLocalPersistence
, see Installation.