Closed kpark-hrp closed 6 months ago
This PR allows user to selectively disable refresh of signing keys on kid mismatch. Fixes #929
kid
Default parameter of retry: bool = True has been added to two following methods.
retry: bool = True
def get_signing_key(self, kid: str, retry: bool = True) -> PyJWK: ... def get_signing_key_from_jwt(self, token: str, retry: bool = True) -> PyJWK: ...
Note: No breaking change as the default behavior remains the same
@jpadilla @auvipy Hi, can you guys take a look at this small PR?
why you closed it?
Description
This PR allows user to selectively disable refresh of signing keys on
kid
mismatch. Fixes #929Changes
Default parameter of
retry: bool = True
has been added to two following methods.Note: No breaking change as the default behavior remains the same