Skip to content

Commit

Permalink
fix prepare_url
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Dec 6, 2024
1 parent 9f71fb3 commit 575eb7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pas/plugins/oidc/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ def get_oauth2_client(self):
# - client.keyjar.issuer_keys[issuer].source = ...
for key in client.keyjar.issuer_keys[self.getProperty("issuer")]:
req = requests.PreparedRequest()
key.source = req.prepare_url(key.source, dict(identityDomainName=domain)).url
req.prepare_url(key.source, dict(identityDomainName=domain))
key.source = req.url
info = {
"client_id": self.getProperty("client_id"),
"client_secret": self.getProperty("client_secret"),
Expand Down

0 comments on commit 575eb7a

Please sign in to comment.