Documentation: Add Descope as User Identity Provider - #2326
Open
antonsmolyanyy wants to merge 7 commits into
Open
Documentation: Add Descope as User Identity Provider#2326antonsmolyanyy wants to merge 7 commits into
antonsmolyanyy wants to merge 7 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
👷 Deploy request for pomerium-docs pending review.Visit the deploys page to approve it
|
Greptile SummaryThis PR adds a new identity-provider guide for Descope at
Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| content/docs/integrations/user-identity/descope.mdx | New IdP guide covering OIDC app creation, Approved Domains callback config, Core config keys/env-var tabs, and RBAC/custom-claims policy examples. Several issues were flagged in prior review threads (missing link definition for [environmental variables], trailing newline, scope ordering) that remain unresolved in this revision. |
| cspell.json | Adds "descope" to the custom dictionary. Correct and minimal change. |
Sequence Diagram
sequenceDiagram
participant User
participant Pomerium
participant Descope
User->>Pomerium: Access protected route
Pomerium->>Descope: "OIDC Authorization Request<br/>(scopes: openid, profile, email,<br/>offline_access, descope.claims)"
Descope-->>User: Redirect to Descope login flow
User->>Descope: Authenticate
Descope-->>Pomerium: "Authorization code<br/>(redirect to /oauth2/callback on approved domain)"
Pomerium->>Descope: Token exchange (client_id + client_secret)
Descope-->>Pomerium: ID token with roles/permissions claims
Pomerium->>Pomerium: "Evaluate PPL policy<br/>(e.g. claim/roles: admin)"
Pomerium-->>User: Allow or deny access
Reviews (4): Last reviewed commit: "Merge branch 'main' into docs/add-descop..." | Re-trigger Greptile
… small formatting changes
Author
|
Hello @kenjenkins, kindly following up on this PR, would really appreciate a review from you. Thank you! |
Contributor
|
@antonsmolyanyy if your identity provider supports directory (users+group) sync, please feel free to contribute the driver in github.com/pomerium/datasource |
wasaga
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new identity provider guide for Descope at
content/docs/integrations/user-identity/descope.mdx.The page covers:
console (Federated Apps → Generic OIDC Application), noting where to
find the Issuer URL (IdP Configuration) and the Client ID /
Client Secret (SP Configuration, Confidential client). Includes
three supporting screenshots under
img/descope/.idp_provider: oidcwiththe Descope issuer as
idp_provider_url, shown in bothconfig.yamland environment-variable tabs.
Descope roles/permissions by requesting the
descope.claimsscope,with example
claim/rolesandclaim/permissionspolicies, plusdescope.custom_claimsfor custom claims (e.g.claim/department).No existing pages or shared components are changed; this is additive
(one new
.mdxfile and three images).AI disclosure
none, only the PR summary was written by AI ^
Checklist