From dfae64afcc241915415416905302551d2e4ff50d Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 7 Mar 2024 11:41:23 +0100 Subject: [PATCH] Fix POST schema for /auth/login_flow --- homeassistant/components/auth/login_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/auth/login_flow.py b/homeassistant/components/auth/login_flow.py index 496333ea88280d..12b1893bc9d8ce 100644 --- a/homeassistant/components/auth/login_flow.py +++ b/homeassistant/components/auth/login_flow.py @@ -298,7 +298,7 @@ async def get(self, request: web.Request) -> web.Response: { vol.Required("client_id"): str, vol.Required("handler"): vol.All( - [str], vol.Length(2, 2), vol.Coerce(tuple) + [vol.Any(str, None)], vol.Length(2, 2), vol.Coerce(tuple) ), vol.Required("redirect_uri"): str, vol.Optional("type", default="authorize"): str,