From 4e77b321fd237efc41a756227a05e264145332e4 Mon Sep 17 00:00:00 2001 From: Christiaan Goossens Date: Fri, 6 Feb 2026 12:41:03 +0100 Subject: [PATCH] Bump to 0.6.5 --- custom_components/auth_oidc/__init__.py | 11 +++++++++++ custom_components/auth_oidc/manifest.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/custom_components/auth_oidc/__init__.py b/custom_components/auth_oidc/__init__.py index f1c74de..bf9d8fb 100644 --- a/custom_components/auth_oidc/__init__.py +++ b/custom_components/auth_oidc/__init__.py @@ -4,6 +4,7 @@ import logging from typing import OrderedDict from homeassistant.core import HomeAssistant +from homeassistant.components.http import StaticPathConfig # Import and re-export config schema explictly # pylint: disable=useless-import-alias @@ -106,6 +107,16 @@ async def async_setup(hass: HomeAssistant, config): hass.http.register_view(OIDCCallbackView(oidc_client, provider, force_https)) hass.http.register_view(OIDCFinishView()) + await hass.http.async_register_static_paths( + [ + StaticPathConfig( + "/auth/oidc/static/style.css", + hass.config.path("custom_components/auth_oidc/static/style.css"), + cache_headers=False, + ), + ] + ) + _LOGGER.info("Registered OIDC views") return True diff --git a/custom_components/auth_oidc/manifest.json b/custom_components/auth_oidc/manifest.json index 4cd926b..8c3f34d 100644 --- a/custom_components/auth_oidc/manifest.json +++ b/custom_components/auth_oidc/manifest.json @@ -19,5 +19,5 @@ "bcrypt", "joserfc" ], - "version": "0.6.4" + "version": "0.6.5" } \ No newline at end of file