Homarr
Sign in to the Homarr dashboard with Pocket ID.
Create a group in Pocket ID
Section titled “Create a group in Pocket ID”- In Pocket ID, open Administration → User Groups and click Add Group.
- Create a group called
homarr_admin(or your preferred admin group name).
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
Homarrand add the callback URLhttps://homarr.example.com/api/auth/callback/oidc. - Click Create and copy the Client ID and the Client secret. The client secret is only shown once.
- On the client’s General tab, turn on PKCE, then click Save.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure Homarr
Section titled “Configure Homarr”Add the following variables to your Homarr container .env file and restart:
NEXTAUTH_SECRET=<generate-a-random-secret, f.e. using: openssl rand -base64 32 >AUTH_PROVIDERS=oidcAUTH_OIDC_CLIENT_ID=<client-id>AUTH_OIDC_CLIENT_SECRET=<client-secret>AUTH_OIDC_ISSUER=https://id.example.comAUTH_OIDC_CLIENT_NAME="Pocket ID"AUTH_OIDC_SCOPE_OVERWRITE=openid email profile groupsAUTH_OIDC_GROUPS_ATTRIBUTE=groupsAUTH_LOGOUT_REDIRECT_URL=https://id.example.comAUTH_OIDC_AUTO_LOGIN=trueAdmin group
Section titled “Admin group”During the initial setup of Homarr, you will be prompted to enter an admin group.
Enter the name of the Pocket ID group that should receive admin rights (e.g., homarr_admin).