Dawarich
Sign in to the Dawarich location history tracker with Pocket ID.
Requirements
Section titled “Requirements”- Dawarich version
0.36.0or higher - Pocket ID on HTTPS, reachable at
https://id.example.com - Dawarich server on HTTPS, reachable at
https://dawarich.example.com
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
Dawarichand add the callback URLhttps://dawarich.example.com/users/auth/openid_connect/callback. - Click Create and copy the Client ID and the Client secret. The client secret is only shown once.
- On the client’s General tab, set Client Launch URL to
https://dawarich.example.com, then click Save. - On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Keep PKCE turned off if you get errors.
Configure Dawarich
Section titled “Configure Dawarich”This is the minimal configuration needed to set up Pocket ID with Dawarich.
- Add the following lines to your Dawarich
.env/docker-compose.ymlfile, replacing the values with the ones you copied in step 3 above:OIDC_CLIENT_ID=<client-id>OIDC_CLIENT_SECRET=<client-secret>OIDC_ISSUER=https://id.example.com/.well-known/openid-configurationOIDC_REDIRECT_URI=https://dawarich.example.com/users/auth/openid_connect/callback - Save the file and restart the Dawarich Docker Compose stack.