ID provider flows and multi-provider autoLogin (XP 8.2.0) - #82
Draft
rymsha wants to merge 4 commits into
Draft
Conversation
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
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
anatol-sialitski
approved these changes
Sep 1, 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.
Documents enonic/xp#12302 (enonic/xp#10838), landing in XP 8.2.0.
Changes
web/id-providers.adoclogin,autologin,logout) and hands the configured list to the implementation asrequest.idProviderFlows— absent when no restriction applies (and on older XP) — so customGET/POSTendpoints can gate additional flows of the ID provider app itself. Includes a TypeScript example gating adeviceflow.autologinflow enabled,defaultfirst, until one authenticates the request or returns a response (previously only thedefaultprovider's ran).upgrade/8-2.adoc(new page, added to the menu): version bump, the autoLogin behavioral change forenabled(non-default) providers, flow gating as worth adopting (the Standard ID Provider'sbasicflow as the in-house example), and the Java-bridge note:getIdProviderKeys()deprecated in favor ofgetIdProviders()— a map of the enabled ID providers to their per-vhost configuration (flow lists today), the default provider first.upgrade/8-1.adoclinks forward to it.xp-820.svgversion badge (inimages/andweb/images/, matching each page'simagesdir).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