Skip to content

Conversation

hiranya911
Copy link
Contributor

The HTTP call made by verifyIdToken() to fetch public key certificates does not use the http.Agent set on the App. This makes it challenging to use verifyIdToken() API when running behind a proxy. This PR fixes this limitation by injecting the http.Agent to the FirebaseTokenVerifier.

Fixes #690

RELEASE NOTE: The verifyIdToken() method now correctly uses the http.Agent configured during SDK initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firebase-admin auth ignores httpAgent
2 participants