From 400751ed3ca961a073e988ac8433e2bc5d15f437 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 29 Oct 2022 18:50:34 +0200 Subject: [PATCH] api: fix missing scheme in securitySchemes closes #3883 Signed-off-by: Jens Langhammer --- authentik/api/apps.py | 1 + schema.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/authentik/api/apps.py b/authentik/api/apps.py index 664fcf9fa..7b91d99a9 100644 --- a/authentik/api/apps.py +++ b/authentik/api/apps.py @@ -31,4 +31,5 @@ class AuthentikAPIConfig(AppConfig): "type": "apiKey", "in": "header", "name": "Authorization", + "scheme": "bearer", } diff --git a/schema.yml b/schema.yml index 21d6b2805..0cffdbe7f 100644 --- a/schema.yml +++ b/schema.yml @@ -38128,5 +38128,6 @@ components: type: apiKey in: header name: Authorization + scheme: bearer servers: - url: /api/v3/