Skip to content

Commit

Permalink
Merge branch 'master' into fix/sa_email
Browse files Browse the repository at this point in the history
  • Loading branch information
MaribelleHGomez committed Jun 28, 2021
2 parents 0577576 + 19fd5d0 commit 0232562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/jwt/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def validate_jwt(
except jwt.InvalidTokenError as e:
raise JWTError(e)
attempt_refresh = attempt_refresh and (token_iss != iss)
public_key = authutils.token.keys.get_public_key_for_token(
public_key = public_key or authutils.token.keys.get_public_key_for_token(
encoded_token, attempt_refresh=attempt_refresh
)
try:
Expand Down

0 comments on commit 0232562

Please sign in to comment.