If FIREBASE_AUTH_EMULATOR_HOST
is set, VerifyIDToken
calls the Firebase Emulator, but shouldn't
#536
Labels
FIREBASE_AUTH_EMULATOR_HOST
is set, VerifyIDToken
calls the Firebase Emulator, but shouldn't
#536
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
I am working on functionality using AdminSDK to verify ID tokens by the
VerifyIDToken
function. I would like to write tests including calls of the method, but I found that the SDK tries to call a Firebase Emulator, which host is defined byFIREBASE_AUTH_EMULATOR_HOST
variable.I was surprised because I was sure
VerifyIDToken
shouldn't call the emulator to check user revocation. I found the place where the problem happens. Could you please describe the reason for this behavior or help me to avoid calls to the emulator?Relevant Code:
I get this error
Thank you!
The text was updated successfully, but these errors were encountered: