Bump to 0.6.5
This commit is contained in:
@@ -4,6 +4,7 @@ import logging
|
|||||||
from typing import OrderedDict
|
from typing import OrderedDict
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
|
from homeassistant.components.http import StaticPathConfig
|
||||||
|
|
||||||
# Import and re-export config schema explictly
|
# Import and re-export config schema explictly
|
||||||
# pylint: disable=useless-import-alias
|
# 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(OIDCCallbackView(oidc_client, provider, force_https))
|
||||||
hass.http.register_view(OIDCFinishView())
|
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")
|
_LOGGER.info("Registered OIDC views")
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
@@ -19,5 +19,5 @@
|
|||||||
"bcrypt",
|
"bcrypt",
|
||||||
"joserfc"
|
"joserfc"
|
||||||
],
|
],
|
||||||
"version": "0.6.4"
|
"version": "0.6.5"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user