Firebase 3.x - Token / Session Expiration

shibapoo picture shibapoo · May 27, 2016 · Viewed 30.5k times · Source

Does anyone know how long would it take for the token to expire? There no option now to set the token validity on the console.

Answer

Frank van Puffelen picture Frank van Puffelen · May 27, 2016

In the latest release of Firebase Authentication, login sessions don't expire anymore. Instead it uses a combination of long-lived account tokens and short-lived, auto-refreshed access tokens to get the best of both worlds.

If you want to end a user's session, you can call signOut().