You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
When calling firebase.getCurrentUser(), it will leave a promise with the user info such as refreshToken. I am trying to decode this token using firebase/php-jwt, but am unable to do that using the given refresh token.
Uncaught exception 'UnexpectedValueException' with message 'Wrong number of segments'
The error comes from the JWT, but it seems like Firebase plugin is handing out an invalid token?
UPDATE: After translating this to JavaScript, I got a valid token. Which btw is a lot longer than the refreshToken:
When calling
firebase.getCurrentUser()
, it will leave a promise with the user info such asrefreshToken
. I am trying to decode this token using firebase/php-jwt, but am unable to do that using the given refresh token.Uncaught exception 'UnexpectedValueException' with message 'Wrong number of segments'
The error comes from the JWT, but it seems like Firebase plugin is handing out an invalid token?
UPDATE: After translating this to JavaScript, I got a valid token. Which btw is a lot longer than the
refreshToken
:The text was updated successfully, but these errors were encountered: