-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createCustomToken generates invalid Token #16
Comments
What does that mean exactly? |
Of course so my workflow is:
This is where I get the error: |
I'm also having this issue, I'm just using the |
I think #23 fixes this issue. Worked fine for me when I tested a few hours ago. |
Hello! In the following PR: the reproducible code sample about this issue is described, and I tried to solve it. I would greatly appreciate if you have a look at the PR, as some time has passed. Thank you! |
Are there any reasons why hasn't been merged yet? The PR changes are working fine. |
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
The text was updated successfully, but these errors were encountered: