Skip to content

Commit

Permalink
Update comments for get_signing_key
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhaoyujerry committed Jul 11, 2022
1 parent 2c1bd08 commit 913017e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt/jwks_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_signing_key(self, kid: str) -> PyJWK:
signing_key = self.match_kid(signing_keys, kid)

if not signing_key:
# If no matching signing key from the cached jwk set, refresh the jwk set.
# If no matching signing key from the jwk set, refresh the jwk set and try again.
signing_keys = self.get_signing_keys(refresh=True)
signing_key = self.match_kid(signing_keys, kid)

Expand Down

0 comments on commit 913017e

Please sign in to comment.