diff --git a/authentik/core/auth.py b/authentik/core/auth.py index e8fc7eef9..86cda15fc 100644 --- a/authentik/core/auth.py +++ b/authentik/core/auth.py @@ -55,5 +55,5 @@ class TokenBackend(InbuiltBackend): if not tokens.exists(): return None token = tokens.first() - self.set_method("password", request, token=token) + self.set_method("token", request, token=token) return token.user