Documentation: Add Descope as User Identity Provider - #2326
Merged
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 Descope IdP guide following existing patterns; one editorial inconsistency in scope guidance between sections |
| cspell.json | Adds "descope" to the custom dictionary — correct and necessary |
Sequence Diagram
sequenceDiagram
participant User
participant Pomerium
participant Descope
User->>Pomerium: Access protected route
Pomerium->>User: Redirect to Descope OIDC authorization endpoint
User->>Descope: Authenticate (via configured Flow)
Descope->>User: Authorization code + redirect to authenticate_service_url/oauth2/callback
User->>Pomerium: Authorization code callback
Pomerium->>Descope: Token exchange (client_id + client_secret)
Descope->>Pomerium: ID token (with roles/permissions if descope.claims scope requested)
Pomerium->>Pomerium: Evaluate policy (claim/roles, claim/permissions, claim/department)
Pomerium->>User: Allow or deny access
Reviews (5): Last reviewed commit: "Merge pull request #1 from ssveta7ak/doc..." | Re-trigger Greptile
… small formatting changes
Contributor
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
Fact-checked the guide against Descope's current OIDC docs and Pomerium's source, and corrected the following: - Approved Domains: fixed the console path (Security is a sibling of General, under General Settings). Replaced the stated failure mode: Descope skips redirect validation while the list is empty, so the step is optional until a domain is added, at which point api.descope.com must be added too. - Dropped the "login URL" from that step. Pomerium's generic OIDC provider only sends redirect_uri and post_logout_redirect_uri. - idp_scopes: removed the spaces. Pomerium splits the value on "," without trimming, so 'openid, profile' requested a scope named " profile". - Console labels: the Create App dialog is App name / ID / Description, and the picker is the Federated Apps Library. - Removed the duplicated idp_provider, idp_provider_url, idp_client_id and idp_client_secret block from the RBAC section. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2 tasks
docs(descope): correct IdP configuration details
ssveta7ak
self-requested a review
August 18, 2026 16:37
ssveta7ak
approved these changes
Aug 18, 2026
Contributor
Author
|
@ssveta7ak are we able to merge this PR now? |
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