PocketID with QuFabric Self-Hosted

PocketID is a simplified identity management solution designed for self-hosted environments, offering a lightweight and easy-to-deploy option for authentication.

Add PocketID as an external IdP directly in the QuFabric Management Dashboard. This is the simplest approach and recommended for most deployments.

Prerequisites

  • QuFabric self-hosted with embedded IdP enabled
  • PocketID instance with admin access

Step 1: Create OIDC Client in PocketID

  1. Navigate to PocketID console
  2. Click the Administration dropdown in the left-hand bar
  3. Select OIDC Clients
  4. Click Add to create a new client

Add OIDC client

  1. Fill in the form:
    • Name: QuFabric
    • Public Client: Off (for confidential client)
    • PKCE: Off
  2. Click Save

Save OIDC client

  1. Note the Client ID and Client Secret

Note client ID

Step 2: Add Identity Provider in QuFabric

  1. Log in to your QuFabric Dashboard
  2. Navigate to SettingsIdentity Providers
  3. Click Add Identity Provider
  4. Fill in the fields:
FieldValue
TypePocketID
NamePocketID (or your preferred display name)
Client IDFrom PocketID
Client SecretFrom PocketID
Issuerhttps://pocketid.example.com
  1. Click Save

QuFabric configuration

Step 3: Configure Redirect URI

After saving, QuFabric displays the Redirect URL. Copy this URL and add it to your PocketID client:

Copy redirect URL from QuFabric

  1. Return to PocketID console → OIDC Clients
  2. Edit your QuFabric client
  3. Add the redirect URL to Callback URLs

Add callback URL

  1. Click Save

Step 4: Create User Group and Assign to Client

  1. Return to PocketID console → User Groups
  2. Click Add to create a new group
  3. Fill in:
    • Name: QuFabric
  4. Click Save

Add user group

  1. Add users to the QuFabric group:
    • Click on the QuFabric group
    • Click Add Users
    • Select the users who should have access to QuFabric
    • Click Save or Add

Add users to group

  1. Go to OIDC ClientsQuFabric (the client you created earlier)
  2. Find the Groups or User Groups section
  3. Add the QuFabric group to the client

Add group to OIDC client

  1. Click Save

Step 5: Test the Connection

  1. Log out of QuFabric Dashboard
  2. On the login page, you should see a "PocketID" button
  3. Click it and authenticate with your PocketID credentials
  4. You should be redirected back to QuFabric and logged in

Configuring JWT 'groups' Claim

PocketID includes user groups in the ID token by default when you've assigned groups to users and linked those groups to the OIDC client. If you followed Step 4 above, groups should already be included in the token.

Verify Groups Are Included

  1. Ensure you've created a User Group in PocketID (Step 4)
  2. Ensure users are assigned to the group
  3. Ensure the group is linked to your QuFabric OIDC client

Enable JWT Group Sync in QuFabric

  1. In QuFabric Dashboard, go to SettingsGroups
  2. Enable JWT group sync
  3. Set JWT claim to groups
  4. Optionally configure JWT allow groups to restrict access to users in specific PocketID groups

Standalone Setup (Advanced)

Use PocketID as your primary identity provider instead of QuFabric's embedded IdP. This option gives you full control over authentication and user management, is recommended for experienced PocketID administrators as it also requires additional setup and ongoing maintenance.

For most deployments, the embedded IdP is the simpler choice — it's built into QuFabric, fully integrated, and requires minimal configuration to get started. For this implementation, go back up to the Management Setup (Recommended) section above.

For detailed instructions on the standalone setup, see the PocketID SSO with QuFabric Self-Hosted (Advanced) documentation.


Troubleshooting

"Invalid redirect URI" error

  • Ensure all callback URLs are properly configured in PocketID
  • Include both HTTP (localhost) and HTTPS (domain) variants