* Update pocket-id.md Updated Public client configuration for Pocket ID * Update pocket-id.md Fixed formatting * Update pocket-id.md Updated Home Assistant URL and fixed formatting even more. * Update pocket-id.md continue to fix formatting * Update pocket-id.md * Update pocket-id.md Found the preview button :-) Hopefully last formatting commit. * Update pocket-id.md Added Confidential client configuration * Update pocket-id.md Fixed some formatting again
1.9 KiB
1.9 KiB
Pocket ID
Public client configuration
Pocket ID configuration
-
Login to Pocket ID and go to
OIDC Clients -
Click on
Add OIDC Client -
Fill the following details:
- Name:
Home Assistant - Callback URLs:
<your-homeassistant-url>/auth/oidc/callback(for example: https://hass.example.com/auth/oidc/callback) - Click on
Public Client(PKCE will be automatically marked when doing this)
- Name:
-
Click on
Save -
Click on
Show more detailsand note down yourClient IDandOIDC Discovery URLsince you will need them later.
Home Assistant configuration
- Add following configuration in Home Assistant's configuration.yaml:
auth_oidc:
client_id: <The Client ID you have noted down>
discovery_url: <The OIDC Discovery URL you have noted down> (for example: https://id.example.com/.well-known/openid-configuration)
- Restart Home Assistant and go to your Home Assistant OIDC URL (for example: https://hass.example.com/auth/oidc/welcome)
Confidential client configuration
Pocket ID configuration
-
Login to Pocket ID and go to
OIDC Clients -
Click on
Add OIDC Client -
Fill the following details:
- Name:
Home Assistant - Callback URLs:
<your-homeassistant-url>/auth/oidc/callback(for example: https://hass.example.com/auth/oidc/callback)
- Name:
-
Click on
Save -
Click on
Show more detailsand note down your:Client IDClient secretOIDC Discovery URL
Home Assistant configuration
- Add following configuration in Home Assistant's configuration.yaml:
auth_oidc:
client_id: <The Client ID you have noted down>
client_secret: <The Client secret you have noted down>
discovery_url: <The OIDC Discovery URL you have noted down> (for example: https://id.example.com/.well-known/openid-configuration)
- Restart Home Assistant and go to your Home Assistant OIDC URL (for example: https://hass.example.com/auth/oidc/welcome)