Skip to content

Commit 04ff81e

Browse files
committed
Oops, this should work.
1 parent 3269e08 commit 04ff81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idpyoidc/client/oidc/authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def construct_request_parameter(
258258
_req_jwt = make_openid_request(req, **_mor_args)
259259

260260
if 'target' not in kwargs:
261-
kwargs['target'] = _context.provider_info["issuer"]
261+
kwargs['target'] = _context.provider_info.get("issuer", _context.issuer)
262262

263263
# Should the request be encrypted
264264
_req_jwte = request_object_encryption(_req_jwt, _context,

0 commit comments

Comments
 (0)