diff --git a/authentik/core/sources/flow_manager.py b/authentik/core/sources/flow_manager.py index 5133e4f0e..d74a8a567 100644 --- a/authentik/core/sources/flow_manager.py +++ b/authentik/core/sources/flow_manager.py @@ -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 " diff --git a/schema.yml b/schema.yml index 2b5c9ae9f..d7c9c53f2 100644 --- a/schema.yml +++ b/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