Firebase emulator doesn't seem to generate the correct alg header #6408
Unanswered
zkrzyzanowski
asked this question in
Q&A
Replies: 1 comment
-
Looking into the docs further, I understand that the emulator only issues unsigned tokens as stated here. I assume this means I need a JWT library that can handle unsigned tokens? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm trying to protect an api with firebase, but the language I'm writing it in doesn't have the firebase admin sdk, so I'm following this guide to verify it using a 3rd party JWT library.
The first part of the guide says the alg field of the header claims should be RS256. However, in my local dev environment with the emulator, I get none as the value. Is there a setting I'm missing here? Is this likely a bug? I'm on v9.8.4 of the firebase js sdk.
Beta Was this translation helpful? Give feedback.
All reactions