(first post here)
I am configuring a site to use firebase authentication.
I am using firebase.auth().signInAndRetrieveDataWithEmailAndPassword to sign in users.
And i am using firebase.auth().onAuthStateChanged((user) to check if a user is logged in.
I am trying to configure so the user needs to (re)log in after a period of inactivity.
As i read, this should be the case (id tokens expire after an hour). But even after i don't log in for a few days, firebase.auth().onAuthStateChanged will always return true (unless user manually signed out)
Is there something i am missing?