-
Notifications
You must be signed in to change notification settings - Fork 305
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
Async _fetch_certs does not decode certs - TypeError Object of type bytes is not JSON serializable #1050
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
yoshi-automation
added
triage me
I really want to be triaged.
🚨
This issue needs some love.
labels
Jun 6, 2022
arithmetic1728
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
and removed
triage me
I really want to be triaged.
labels
Jun 14, 2022
sai-sunder-s
added
priority: p2
Moderately-important priority. Fix may not be included in next release.
and removed
triage me
I really want to be triaged.
🚨
This issue needs some love.
labels
Jul 14, 2022
Thank you for raising this issue. We will fix the bug. |
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jul 20, 2022
The async _cert_fetch implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves googleapis#1050.
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jul 20, 2022
The async _cert_fetch implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves googleapis#1050.
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jul 21, 2022
The async `_cert_fetch` implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves googleapis#1050.
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jul 21, 2022
The async `_cert_fetch` implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves googleapis#1050.
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jul 21, 2022
The async `_cert_fetch` implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves googleapis#1050.
clundin25
added a commit
to clundin25/google-auth-library-python
that referenced
this issue
Jul 22, 2022
The async `_cert_fetch` implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves googleapis#1050.
clundin25
added a commit
that referenced
this issue
Jul 22, 2022
The async `_cert_fetch` implementation was not properly decoding certificates into a utf-8 string. This updates the code and tests to decode the certificates into strings. This resolves #1050.
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.
google-auth-library-python/google/oauth2/_id_token_async.py
Line 98 in 7da6cfc
There is a bug in the code. The json.dumps returns a
TypeError: Object of type bytes is not JSON serializable
while data instead needs to be decodeddata.decode('utf-8')
before converting to dictionary.The correct approach is being used in the id_token.py method.
The text was updated successfully, but these errors were encountered: