Skip to content

ID provider flows and multi-provider autoLogin (XP 8.2.0) - #82

Draft
rymsha wants to merge 4 commits into
masterfrom
claude/management-api-vhost-auth-muhw39
Draft

ID provider flows and multi-provider autoLogin (XP 8.2.0)#82
rymsha wants to merge 4 commits into
masterfrom
claude/management-api-vhost-auth-muhw39

Conversation

@rymsha

@rymsha rymsha commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Documents enonic/xp#12302 (enonic/xp#10838), landing in XP 8.2.0.

Changes

  • web/id-providers.adoc
    • New Flows section: a vhost may restrict the flows an ID provider serves; XP enforces the three flows it manages (login, autologin, logout) and hands the configured list to the implementation as request.idProviderFlows — absent when no restriction applies (and on older XP) — so custom GET/POST endpoints can gate additional flows of the ID provider app itself. Includes a TypeScript example gating a device flow.
    • autoLogin note updated: it now runs for every ID provider on the vhost with the autologin flow enabled, default first, until one authenticates the request or returns a response (previously only the default provider's ran).
    • The mounting note points to the flows section instead of the old default-only rule.
  • upgrade/8-2.adoc (new page, added to the menu): version bump, the autoLogin behavioral change for enabled (non-default) providers, flow gating as worth adopting (the Standard ID Provider's basic flow as the in-house example), and the Java-bridge note: getIdProviderKeys() deprecated in favor of getIdProviders() — a map of the enabled ID providers to their per-vhost configuration (flow lists today), the default provider first. upgrade/8-1.adoc links forward to it.
  • New xp-820.svg version badge (in images/ and web/images/, matching each page's imagesdir).

Draft until XP 8.2.0 ships. Companion app PRs: enonic/app-standardidprovider#1436, enonic/app-oidc-idprovider#283.

https://claude.ai/code/session_01YFqoY5nKdmhXqM7MAU9cqU

claude added 4 commits August 30, 2026 15:25
A vhost may restrict the flows an id provider serves; XP enforces
login/autologin/logout and hands the list to the implementation as
request.idProviderFlows for gating additional flows. autoLogin now runs
for every enabled id provider with the autologin flow, default first.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YFqoY5nKdmhXqM7MAU9cqU
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YFqoY5nKdmhXqM7MAU9cqU
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.

3 participants