Opengist
Sign in to Opengist with Pocket ID.
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
Opengistand add the callback URLhttps://opengist.example.com/oauth/oidc/callback. - Click Create and copy the Client ID, the Client secret and the OIDC Discovery URL. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure Opengist
Section titled “Configure Opengist”Add the following configuration to your Opengist config.yml file:
oauth: oidc: provider-name: "PocketID" client-key: "<client-id>" secret: "<client-secret>" discovery-url: "https://id.example.com/.well-known/openid-configuration" group-claim-name: "opengist" admin-group: "opengist-admins"Environment variables (alternative)
Section titled “Environment variables (alternative)”You can also configure Opengist using environment variables:
OG_OIDC_PROVIDER_NAME=PocketIDOG_OIDC_CLIENT_KEY=<client-id>OG_OIDC_SECRET=<client-secret>OG_OIDC_DISCOVERY_URL=https://id.example.com/.well-known/openid-configurationOG_OIDC_GROUP_CLAIM_NAME=opengistOG_OIDC_ADMIN_GROUP=opengist-adminsTesting
Section titled “Testing”- Restart Opengist.
- Open your Opengist instance.
- You should see a Login with OIDC button on the login page.
- Click it to be redirected to Pocket ID and sign in with your passkey.
Admin group
Section titled “Admin group”To grant admin privileges to specific users, configure the admin-group parameter.
Users who belong to this group in Pocket ID have admin access in Opengist.
- In Pocket ID, open Administration → User Groups, click Add Group and create a group with the Name
opengist-admins(or your preferred name). - Add the users who should have admin privileges to this group.
- Configure Opengist to use this group as shown in the examples above.
- Make sure the callback URL in Pocket ID exactly matches what’s configured in Opengist.
- The discovery URL must point to the
.well-known/openid-configurationendpoint of your Pocket ID instance. - Users are automatically created in Opengist on their first sign-in.
- Admin group membership is checked on each sign-in, so changes in Pocket ID take effect immediately.