我想通过共享JWT令牌来验证多个网站上的用户.令牌最初是由firebase生成的,所以我认为它是一个好的有效令牌(在jwt.io上测试,似乎没问题).我明白了user.getToken().
在我打电话的时候,signInWithCustomToken(token)我总是收到auth/invalid-custom-token一条消息错误"The custom token format is incorrect. Please check the documentation.".
有什么奇怪的,它会https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyCustomToken...返回一个返回HTTP 400 的HTTP POST请求.我已尝试过localhost和https live网站......但结果相同.我正在使用Firebase 3.3.
任何想法,什么可能是错的?我在旧版Firebase中使用此功能.