【发布时间】:2016-09-27 01:41:55
【问题描述】:
我遇到了使用com.google.gms:google-services:3.0.0 和com.google.firebase:firebase-auth:9.0.1 进行Android Firebase 身份验证的问题。
在使用 Firebase(Google 或 Facebook)进行身份验证后 1 小时,我收到以下错误:
W/PersistentConnection: pc_0 - Authentication failed: expired_token (Auth token is expired)
为什么 Firebase 令牌会在 1 小时后过期以及如何延长此过期时间?
更新
我仍然遇到这个问题,Firebase 令牌会在 1 小时后过期。现在我收到以下消息:
W/PersistentConnection: pc_0 - Authentication failed: invalid_token (Invalid claim 'kid' in auth header.)
感谢您的帮助。
【问题讨论】:
-
您好,我正在使用 firebase-auth:9.0.2 并且遇到了同样的问题。请问你找到解决办法了吗?
-
你找到解决办法了吗?我仍然面临这个问题。
标签: android firebase-authentication google-authentication facebook-authentication