From 6e1a54753e960bd693a6d212e97d0d31d44db453 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 14 Jan 2023 19:53:43 +0100 Subject: [PATCH] providers/oauth2: fix import order Signed-off-by: Jens Langhammer --- authentik/providers/oauth2/views/provider.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/providers/oauth2/views/provider.py b/authentik/providers/oauth2/views/provider.py index 0c8cbc34d..2b276bb04 100644 --- a/authentik/providers/oauth2/views/provider.py +++ b/authentik/providers/oauth2/views/provider.py @@ -4,6 +4,7 @@ from typing import Any from django.http import HttpRequest, HttpResponse, JsonResponse from django.shortcuts import get_object_or_404, reverse from django.views import View +from guardian.shortcuts import get_anonymous_user from structlog.stdlib import get_logger from guardian.shortcuts import get_anonymous_user from authentik.core.exceptions import PropertyMappingExpressionException