Skip to content

downgrade PyJWT version#354

Closed
broHeryk wants to merge 6 commits into
finos:mainfrom
broHeryk:feture/fix-jwt-validation
Closed

downgrade PyJWT version#354
broHeryk wants to merge 6 commits into
finos:mainfrom
broHeryk:feture/fix-jwt-validation

Conversation

@broHeryk
Copy link
Copy Markdown
Collaborator

@broHeryk broHeryk commented May 14, 2025

While testing the latest bdk version, I noticed that the validate_sub method for PyJwt package(version 2.10) is incompatible with Symphony JWT token(it has an integer subject value). The error is provided below:
Subject must be a string Validation Error
Verification can be disabled by passing the flag:
PyJWT({"verify_sub": False})
Since the vulnerabilities bot does not allow downgrading PyJWT package, I suggest using this flag in the BDK code(symphony/bdk/core/auth/jwt_helper.py)
Other changes in this PR are related to outdated versions, platforms, and a broken GitHub actions flow.

@broHeryk broHeryk closed this May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant