Skip to content

Commit

Permalink
fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Aug 22, 2024
1 parent 61d1cbb commit bd1a81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple_openid_connect/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def discover_configuration_from_issuer(issuer: str) -> ProviderMetadata:

try:
result = ProviderMetadata.parse_raw(response.content)
assert result.issuer.rstrip('/') == issuer, "issuer mismatch"
assert result.issuer.rstrip("/") == issuer, "issuer mismatch"
except Exception as e:
raise OpenidProtocolError(
"The provider did not respond with a provider configuration according to spec"
Expand Down

0 comments on commit bd1a81e

Please sign in to comment.