Skip to content

docs(descope): correct IdP configuration details - #1

Merged
antonsmolyanyy merged 1 commit into
antonsmolyanyy:docs/add-descope-idpfrom
ssveta7ak:docs/descope-review-fixes
Aug 18, 2026
Merged

docs(descope): correct IdP configuration details#1
antonsmolyanyy merged 1 commit into
antonsmolyanyy:docs/add-descope-idpfrom
ssveta7ak:docs/descope-review-fixes

Conversation

@ssveta7ak

@ssveta7ak ssveta7ak commented Aug 18, 2026

Copy link
Copy Markdown

Summary

Corrections to the Descope IdP guide, fact-checked against Descope's current OIDC documentation and Pomerium's source.

  • Approved Domains — fixed the console path to Project Settings → General Settings → Security → Approved Domains (Security is a sibling of General, not nested under it). Replaced the stated failure mode: Descope skips redirect validation entirely while the list is empty, so the step is optional until you add a domain — at which point api.descope.com has to be added as well, since Descope's own hosted domains aren't allowlisted automatically. The original instructions did not work when tested manually.
  • idp_scopes — removed the spaces from the comma-separated value. Pomerium splits on , without trimming whitespace, so 'openid, profile, email' requested scopes literally named " profile" and " email".
  • De-duplicated the idp_provider / idp_provider_url / idp_client_id / idp_client_secret block that was repeated verbatim in the RBAC section; those sections now show only the idp_scopes line that changes.

npm run check passes locally (format, cspell, reference links, guide audit, robots).

Related

Targets the branch behind pomerium#2326.

AI disclosure

Claude Code ran the adversarial fact-check — fetching Descope's docs and reading Pomerium's source to verify each claim — and applied the confirmed fixes. I reviewed every change and hand-edited the prose throughout.

Checklist

  • reference any related issues
  • disclosed AI usage (or wrote "none") per AI_POLICY.md

🤖 Generated with Claude Code

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>
@ssveta7ak

Copy link
Copy Markdown
Author

Hi @antonsmolyanyy, I reviewed your PR and made a few changes to better match Pomerium’s documentation style. Please approve my PR, and then we can move forward.

@antonsmolyanyy
antonsmolyanyy merged commit 6d2d55e into antonsmolyanyy:docs/add-descope-idp Aug 18, 2026
@antonsmolyanyy

Copy link
Copy Markdown
Owner

@ssveta7ak I approved your PR, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants