You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command is only available on PyJWT v1.6.3 and greater. Otherwise,
please provide some basic information about your system.
The text was updated successfully, but these errors were encountered:
awoimbee
changed the title
Partial issuer matches instead of InvalidTokenError
Partial issuer matches instead of InvalidTokenError in 2.10.0
Nov 22, 2024
Impacts
2.10.0
, previous release (2.9.0
) is not impacted.Seems like if
issuer
is given as a string then any partial match is allowed.Expected Result
InvalidTokenError
due to badiss
.Actual Result
Token is accepted and decoded 😬
Reproduction Steps
This is incomplete:
Note: this is fixed by replacing
issuer="https://test.example.com/auth"
byissuer=["https://test.example.com/auth"]
(relates to #913).System Information
This command is only available on PyJWT v1.6.3 and greater. Otherwise,
please provide some basic information about your system.
The text was updated successfully, but these errors were encountered: