Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

fix: Make OAUTH2.0 client resistant to string type 'expires_in' responses from non-compliant services#1208

Merged
clundin25 merged 1 commit intogoogleapis:mainfrom
clundin25:string-expires-in
Jan 6, 2023
Merged

fix: Make OAUTH2.0 client resistant to string type 'expires_in' responses from non-compliant services#1208
clundin25 merged 1 commit intogoogleapis:mainfrom
clundin25:string-expires-in

Conversation

@clundin25
Copy link
Contributor

This fixes #1207.

@clundin25 clundin25 requested a review from a team January 5, 2023 17:54
@clundin25 clundin25 requested a review from a team as a code owner January 5, 2023 17:54
Copy link
Contributor

@wangyutongg wangyutongg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Just curious: When do we generate the secrets.tar.enc file and how to generate it?

@clundin25
Copy link
Contributor Author

@wangyutongg Thanks!

Will follow up on that offline.

@clundin25 clundin25 added the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 6, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 6, 2023
@clundin25 clundin25 merged commit 9fc7b1c into googleapis:main Jan 6, 2023
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 6, 2023
…onses from non-compliant services (#1379)

Make external_account resistant to string type 'expires_in' responses from non-compliant services.

This is to complete [#1208](https://togithub.com/googleapis/google-auth-library-python/pull/1208/).

A client run into this error.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

expires_in appears to be a string when returned from the token server

3 participants