fix: group mapping (#13)

This commit is contained in:
Baptiste Roux
2025-01-01 16:28:48 +01:00
committed by GitHub
parent 72dbc49c6f
commit 2131fe5d36
2 changed files with 3 additions and 3 deletions

View File

@@ -50,8 +50,8 @@ async def async_setup(hass: HomeAssistant, config):
_LOGGER.info("Registered OIDC provider")
# We only use openid & profile, never email
scope = "openid profile"
# We only use openid, profile & groups, never email
scope = "openid profile groups"
oidc_client = oidc_client = OIDCClient(
discovery_url=my_config.get(DISCOVERY_URL),