Firebase 3.x - Token / Session Expiration

前端 未结 4 1641
春和景丽
春和景丽 2020-12-01 05:57

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.

4条回答
  •  佛祖请我去吃肉
    2020-12-01 06:47

    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().

提交回复
热议问题