This repository has been archived by the owner on May 6, 2024. It is now read-only.
How to get 'kid' in header when testing with firebase emulator? #2
Labels
enhancement
New feature or request
Firstly, this is an awesome lib, so glad I found it — surprised it's yet undiscovered. Thank you
I ran into an issue running locally with Firebase Auth Emulators where if the Firebase's client-side SDK is using local auth emulators, then there's no
kid
in the accessToken, which breaks thewithFirebaseUser
function.Fyi, this is my current workaround. You may be using the firebase admin SDK on next or not pointing your client SDKs to the local auth emulator, hence why you may not have this issue (I'm posting it for other users or in case you want to handle this case).
It seems this is a deliberate safety measure by Firebase.
The text was updated successfully, but these errors were encountered: