Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Angular/React 中,当我们使用 firebase 进行 google 身份验证时,我们得到下面的对象。
在凭证下,我们有 idToken,谷歌发出并在 60 分钟后过期。如何刷新此令牌以获取新令牌。
如果您使用的是提供的 Firebase Auth SDK,则无需执行任何操作即可刷新令牌。SDK 将自动执行此操作。