firebase / firebase-tools

The Firebase Command Line Tools
MIT License
3.97k stars 917 forks source link

[firebase-emulator] verifyIdToken uses https://identitytoolkit.googleapis.com/google.identity.identitytoolkit.v1.IdentityToolkit instead of emulator auth to verify custom token #7205

Closed mrPsycox closed 1 month ago

mrPsycox commented 1 month ago

[REQUIRED] Environment info

firebase-tools:

Platform:

[REQUIRED] Test case

[REQUIRED] Steps to reproduce

Run a

[REQUIRED] Expected behavior

verifyIdToken need to use firebase-emulator auth to decode token.

[REQUIRED] Actual behavior

verifyIdToken actually use https://identitytoolkit.googleapis.com/google.identity.identitytoolkit.v1.IdentityToolkit instead of local emulator instance to verify the token

google-oss-bot commented 1 month ago

This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.