-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expires_in appears to be a string when returned from the token server #1207
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Comments
Thanks for the report @rfloydb ! We will investigate and report back |
Hi @rfloydb can you provide some more details on what you are trying to accomplish? And perhaps some details about this workflow? |
I am trying to refresh a token. Roughly this:
|
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jan 5, 2023
…nses from non-compliant services This fixes googleapis#1207.
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jan 6, 2023
…nses from non-compliant services This fixes googleapis#1207.
@rfloydb This will be fixed in the next release. That should happen either today or early next week. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When we reach this line of code, we get "TypeError: unsupported type for timedelta seconds component: str"
google-auth-library-python/google/oauth2/_client.py
Line 123 in 6c1297c
It would appear that the response from the token server has expires_in as a string:
Request:
Response:
Seems this code should expect a string and not an integer.
The text was updated successfully, but these errors were encountered: