Added new documentation style, added Authentik & Authelia examples. THank you Hendrik & Ivan! --------- Co-authored-by: Hendrik Sievers <89412959+hendrik1120@users.noreply.github.com> Co-authored-by: Ivan Vasquez <ivanvasquezp@outlook.com>
1.5 KiB
1.5 KiB
Authentik
Public client configuration
Under construction.
Confidential client configuration
-
From the admin interface, go to
Applications > Providersand click onCreate -
Select
OAuth2/OpenID Providerand clickNext -
Fill the following details:
- Name:
Home Assistant Provider - Authorization flow:
default-provider-authorization-explicit-consent - Client type:
Confidential - Client ID:
homeassistant - Client Secret: Copy this value
- Redirect URIs/Origins: Click on
Add entry(You can use either DNS, Internal/External IP or localhost)
- Name:
-
Click
Finishto save the provider configuration -
Open the created Provider
-
On the Assigned to application section click on
Create:- Name:
Home Assistant - Slug:
home-assistant - Provider:
Home Assistant Provider
Then save the configuration
- Name:
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 Authentik CA certificate to
network.tls_ca_path.
After installing this HACS addon, edit your configuration.yaml file and add:
auth_oidc:
client_id: "homeassistant"
client_secret: "client_secret"
discovery_url: "https://auth.example.com/application/o/home-assistant/.well-known/openid-configuration"
Restart Home Assistant and go to https://hass.example.com/auth/oidc/welcome