Skip to content

Commit ce20588

Browse files
authored
Merge pull request #51 from its-dirg/oidc-frontend-error
Make OIDC frontend return error messages properly.
2 parents 7aba9db + cdb19f0 commit ce20588

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/satosa/frontends/openid_connect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ def handle_authn_request(self, context):
293293
:return: HTTP response to the client
294294
"""
295295
internal_req = self._handle_authn_request(context)
296+
if not isinstance(internal_req, InternalRequest):
297+
return internal_req
296298
return self.auth_req_callback_func(context, internal_req)
297299

298300
def jwks(self, context):

0 commit comments

Comments
 (0)