-
Notifications
You must be signed in to change notification settings - Fork 66
createCustomToken generates invalid Token #16
Copy link
Copy link
Closed
Description
When i send the token back to the client and trie the LoginWithToken method I get:
error: [firebase_auth/invalid-custom-token] The custom token format is incorrect. Please check the documentation.
If i paste the token into jwt.io i get the following warning (although I can see the correct payload of the token.
Warning: Looks like your JWT signature is not encoded correctly using base64url (https://tools.ietf.org/html/rfc4648#section-5). Note that padding ("=") must be omitted as per https://tools.ietf.org/html/rfc7515#section-2
I did double check that the projects match and got it to work with the python admin sdk.
Any Ideas?
Thanks Mark
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels