outline
id: outline
Outline
Setting up Outline to authenticate with Pocket ID can be accomplished with the configuration below.
Your Outline and Pocket ID server URLs must both use HTTPS.
Create OIDC Client
- Login to your Pocket ID server as an admin
- Go to OIDC Clients and click Add OIDC Client
- Set an app Name like
Outline
- Set the Callback URL to:
https://outline.yourdomain.com/*
- Upload a Logo if desired
- Click Save. Then copy these values for later:
- Client ID
- Client Secret
- Authorization URL
- Token URL
- Userinfo URL
- Logout URL
Configure Outline for OIDC
To configure Outline, use the following variables to utilize OpenID Connect.
-
Add the following to your Outline container
docker.env
:OIDC_CLIENT_ID=Client ID
OIDC_CLIENT_SECRET=Client Secret
OIDC_AUTH_URI=Authorization URL
OIDC_TOKEN_URI=Token URL
OIDC_USERINFO_URI=Userinfo URL
OIDC_LOGOUT_URI=Logout URL
OIDC_DISPLAY_NAME=Pocket ID
OIDC_USERNAME_CLAIM=preferred_username
OIDC_SCOPES=openid profile email groups -
Restart your Outline container:
docker compose down
docker compose up -d -
Login to Outline with your Pocket ID
-
Review and update SSO settings at: Settings > Workspace > Security