Skip to content

Update automatic retries and Implement Retryable interface for token endpoint requests #980

@TimurSadykov

Description

@TimurSadykov

Current implementation of automatic retries to token endpoint does not follow Auth service guidelines. In addition, clients do not have a good way to distinguish retryable errors and implement custom retry strategies. Sometimes this causes infinite retries like here: https://github.com/nwbirnie/gapic-oauth-invalid-hangs

More details in the doc: go/auth-correct-retry

Please prioritize the fix if infinite retry like for Java is repro here as well.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. 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