Skip to content

Commit

Permalink
build(deps): bump pyjwt from 1.7.1 to 2.4.0 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
kushagra189 authored Jun 1, 2022
1 parent cbacc9e commit 03e0f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion foca/security/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def validate_token(token: str) -> Dict:
try:
claims = jwt.decode(
jwt=token,
verify=False,
algorithms=algorithms,
options={"verify_signature": False}
)
except Exception as e:
raise Unauthorized("JWT could not be decoded") from e
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Flask==2.0.3
Flask-Cors==3.0.9
Flask-PyMongo==2.3.0
pydantic==1.8.2
PyJWT==1.7.1
PyJWT==2.4.0
pymongo==3.10.1
PyYAML==5.4
requests==2.27.1
Expand Down

0 comments on commit 03e0f54

Please sign in to comment.