diff --git a/authentik/providers/oauth2/views/token.py b/authentik/providers/oauth2/views/token.py index bf40dc3e0..c8c9e5bcb 100644 --- a/authentik/providers/oauth2/views/token.py +++ b/authentik/providers/oauth2/views/token.py @@ -186,7 +186,7 @@ class TokenView(View): try: self.provider = OAuth2Provider.objects.get(client_id=client_id) except OAuth2Provider.DoesNotExist: - LOGGER.warning("OAuth2Provider does not exist", client_id=self.client_id) + LOGGER.warning("OAuth2Provider does not exist", client_id=client_id) raise TokenError("invalid_client") if not self.provider: