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

Fix Decoding OIDC tokens with No Verify#9385

Closed
JFryy wants to merge 1 commit intoNetflix:masterfrom
JFryy:master
Closed

Fix Decoding OIDC tokens with No Verify#9385
JFryy wants to merge 1 commit intoNetflix:masterfrom
JFryy:master

Conversation

@JFryy
Copy link
Copy Markdown

@JFryy JFryy commented Sep 20, 2024

Description

An error occurs on current PyJWT versions of lib/oidcy.py when verification is not enforced. This change only updates the decode methods with the correct argument parameters.

as before:

packages/jwt/api_jwt.py", line 148, in decode_complete
    raise DecodeError(
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode(

to an actual decoded value with no verification required.

@JFryy
Copy link
Copy Markdown
Author

JFryy commented Sep 20, 2024

Just tagging @jaydhulia, @scottpacknetflix as I think this might be a good idea to merge even if this is maintained infrequently, would be nice to help others avoid debugging oauth.

@JFryy JFryy closed this Feb 27, 2026
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.

1 participant