Outline
Sign in to the Outline wiki with Pocket ID.
Setting up Outline to authenticate with Pocket ID can be done with the configuration below.
Requirements
Section titled “Requirements”- Your Outline and Pocket ID server URLs must both use HTTPS.
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
Outlineand add the callback URLhttps://outline.example.com/auth/oidc.callback. - Click Create and copy the Client ID and the Client secret. Under Show more details, also copy the Authorization URL, the Token URL, the Userinfo URL and the Logout 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 Outline
Section titled “Configure Outline”-
Add the following to your Outline container’s
docker.env:OIDC_CLIENT_ID=<client-id>OIDC_CLIENT_SECRET=<client-secret>OIDC_AUTH_URI=https://id.example.com/authorizeOIDC_TOKEN_URI=https://id.example.com/api/oidc/tokenOIDC_USERINFO_URI=https://id.example.com/api/oidc/userinfoOIDC_LOGOUT_URI=https://id.example.com/api/oidc/end-sessionOIDC_DISPLAY_NAME=Pocket IDOIDC_USERNAME_CLAIM=preferred_usernameOIDC_SCOPES=openid profile email groups -
Restart your Outline container:
Terminal window docker compose downdocker compose up -d -
Sign in to Outline with Pocket ID to test it.
-
Review and update the SSO settings under Settings → Workspace → Security.