* add doc for Zitadel configuration Add instructions to set up Zitadel * add link from configuration doc
1.1 KiB
1.1 KiB
Zitadel
Zitadel configuration
- From the Zitadel home screen, go to
Projectsand clickCreate New Project - Enter "Home Assistant" or your preferred name
- Click on
Newto create a new Application - Enter "Home Assistant" or your preferred name
- Select
WebandContinue - Select
CODE(notPKCE) andContinue - Enter https://hass.example.com/auth/oidc/callback as the Redirect URI, and click
Continue - Click
Create. A pop-up will dispay theClientIdandClientSecret
Home Assistant configuration
Important
For HTTPS configuration make sure to have a public valid SSL certificate (i.e. LetsEncrypt), if not, use HTTP instead (more insecure) or add your Zitadel CA certificate to
network.tls_ca_path.
After installing this HACS addon, edit your configuration.yaml file and add:
auth_oidc:
client_id: <ClientID from above>
client_secret: <ClientSecret from above>
discovery_url: "https://auth.example.com/.well-known/openid-configuration"
Restart Home Assistant and go to https://hass.example.com/auth/oidc/welcome