Slow response times when obtaining Domain Wide Delegation token and during inbound Authorization header validation #1756
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
status: blocked
Resolving the issue is dependent on other work.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
google-auth-library
version: 8.19.4Obtaining an Domain Wide Delegated Access Token
We have two issues when using the client library when trying to PATCH a subscription. When patching a subscription for a Chat Space we are obtaining a users Domain Wide Delegated token to use as the Authorization header for the PATCH operation.
We are using the
GoogleAuth
client to obtain the token and during the call togetAccessToken();
it makes a request to the Google endpoint https://www.googleapis.com/oauth2/v4/tokenWe have been experiencing slow response times when hitting this endpoint as show in the attachments.
Header Authorization
We have also noticed slow response times during validation of the JWT Authorization header that is sent as part of the push notification. In the library it makes a call to https://www.googleapis.com/oauth2/v1/certs. Occasionally we have seen slow response times from this request as show in the attachments.
The text was updated successfully, but these errors were encountered: