What is the expiry time of refresh token? Can I get new token if used with refresh token. If yes Is there any time limit for refresh token .
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Firebase Authentication uses two tokens:
- a long-lived/permanent refresh token that identifies the user.
- a short-lived ID token that grants the user access to backend services.
The refresh token doesn't expire.
The ID token by default expires hourly. If you mint a custom token you can set a custom expiration, which can never be longer than an hour.