core: use Exception for fallback case in flow_manager

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-07-04 20:05:03 +02:00
parent 47acc0ea90
commit 6a497b32f6
2 changed files with 9 additions and 13 deletions

View file

@ -167,7 +167,7 @@ class SourceFlowManager:
self._logger.warning("Flow non applicable", exc=exc)
return self.error_handler(exc)
# Default case, assume deny
error = (
error = Exception(
_(
(
"Request to authenticate with %(source)s has been denied. Please authenticate "

View file

@ -10826,9 +10826,8 @@ paths:
enum:
- confidential
- public
description: |-
Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable.
description: Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable
- in: query
name: include_claims_in_id_token
schema:
@ -23272,9 +23271,8 @@ components:
client_type:
allOf:
- $ref: '#/components/schemas/ClientTypeEnum'
description: |-
Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable.
description: Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable
client_id:
type: string
maxLength: 255
@ -23348,9 +23346,8 @@ components:
client_type:
allOf:
- $ref: '#/components/schemas/ClientTypeEnum'
description: |-
Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable.
description: Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable
client_id:
type: string
minLength: 1
@ -27738,9 +27735,8 @@ components:
client_type:
allOf:
- $ref: '#/components/schemas/ClientTypeEnum'
description: |-
Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable.
description: Confidential clients are capable of maintaining the confidentiality
of their credentials. Public clients are incapable
client_id:
type: string
minLength: 1