Skip to main content

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

  1. Login to your Pocket ID server as an admin
  2. Go to OIDC Clients and click Add OIDC Client
  3. Set an app Name like Outline
  4. Set the Callback URL to: https://outline.yourdomain.com/*
  5. Upload a Logo if desired
  6. 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.

  1. 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
  2. Restart your Outline container:

    docker compose down 
    docker compose up -d
  3. Login to Outline with your Pocket ID

  4. Review and update SSO settings at: Settings > Workspace > Security