Skip to content

Commit

Permalink
Issuer instances need to have the same httpc_params specification as …
Browse files Browse the repository at this point in the history
…the KeyJar they belong to.
  • Loading branch information
rohe committed Oct 1, 2024
1 parent 1e79713 commit ef150b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cryptojwt/key_jar.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def add_url(self, issuer_id: str, url: str, **kwargs) -> KeyBundle:
"""

issuer = self.return_issuer(issuer_id)
issuer.httpc_params = self.httpc_params

Check warning on line 136 in src/cryptojwt/key_jar.py

View check run for this annotation

Codecov / codecov/patch

src/cryptojwt/key_jar.py#L136

Added line #L136 was not covered by tests
kb = issuer.add_url(url, **kwargs)
return kb

Expand Down

0 comments on commit ef150b6

Please sign in to comment.