diff --git a/authentik/stages/identification/stage.py b/authentik/stages/identification/stage.py index 21654ce7e..48e7563ae 100644 --- a/authentik/stages/identification/stage.py +++ b/authentik/stages/identification/stage.py @@ -96,7 +96,9 @@ class IdentificationChallengeResponse(ChallengeResponse): # No password stage select, don't validate the password return attrs - password = attrs["password"] + password = attrs.get("password", None) + if not password: + LOGGER.warning("Password not set for ident+auth attempt") try: user = authenticate( self.stage.request,