core: use Exception for fallback case in flow_manager
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
47acc0ea90
commit
6a497b32f6
|
@ -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 "
|
||||
|
|
20
schema.yml
20
schema.yml
|
@ -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
|
||||
|
|
Reference in New Issue