We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ab2f9 commit 1be342bCopy full SHA for 1be342b
src/idpyoidc/client/service.py
@@ -662,13 +662,8 @@ def parse_response(
662
resp.verify(**vargs)
663
except MissingSigningKey as err:
664
LOGGER.error(f"Could not find an appropriate key: {err}")
665
- _keyjar = self.upstream_get("attribute", "keyjar")
666
- try:
667
- LOGGER.debug(f"[{self.upstream_get('entity').client_id}] Available keys for"
668
- f" {vargs['iss']}:"
669
- f" {_keyjar.key_summary(vargs['iss'])}")
670
- except IssuerNotFound:
671
- LOGGER.debug(f"Issuer not found in keyjar: {vargs['iss']}")
+ if vargs["iss"] not in vargs["keyjar"].owners():
+ LOGGER.debug(f"Issuer {vargs['iss']} not found in keyjar")
672
raise
673
except Exception as err:
674
LOGGER.error("Got exception while verifying response: %s", err)
0 commit comments