Skip to content

timeout field isn't being considered while fetching the Bearer token #535

@sreendra

Description

@sreendra

Environment details

  • OS: Linux
  • Node.js version: 10
  • npm version: 6
  • google-auth-library version:5.10.1

Steps to reproduce

  1. ? Set timeout to 3secs
  2. ? Make a million calls in an hour

You would see that the response time will be greater than 15secs or more at least for few requests as timeout is being considered only validating the recaptcha token not during fetching the Bearer token.

We are using JWT to validate reCaptcha token and it's taking more than 15sec to get the response for few requests inspite of the timeout being set to 3 ms.

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions