Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 7dff53e

Browse files
committed
jwks_uri value was not carried along as it should have been.
Need to carry the original request along for later use.
1 parent c783506 commit 7dff53e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/oidcrp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def init_client(self, issuer):
204204

205205
client.service_context.keyjar = self.keyjar.copy()
206206
client.service_context.base_url = self.base_url
207+
client.service_context.jwks_uri = self.jwks_uri
207208
return client
208209

209210
def do_provider_info(self, client=None, state=''):

src/oidcrp/oauth2/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ def service_request(self, service, url, method="GET", body=None,
141141
if response_body_type == 'html':
142142
return resp.text
143143

144+
if body:
145+
kwargs['request_body'] = body
146+
144147
response = self.parse_request_response(service, resp,
145148
response_body_type, **kwargs)
146149
if 'error' in response:

0 commit comments

Comments
 (0)