Skip to content

Comments

fix(auth): Using the App-level http.Agent when fetching public key certificates#705

Merged
hiranya911 merged 3 commits intomasterfrom
hkj-cert-agent
Nov 18, 2019
Merged

fix(auth): Using the App-level http.Agent when fetching public key certificates#705
hiranya911 merged 3 commits intomasterfrom
hkj-cert-agent

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