Skip to content

Document device verification and the login actor #94 - #95

Draft
rymsha wants to merge 20 commits into
masterfrom
device-login
Draft

rymsha wants to merge 20 commits into
masterfrom
device-login

Conversation

@rymsha

@rymsha rymsha commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Closes #94

Documents the JavaScript APIs the XP 8.2 device-login chain adds: enonic/xp#12458 (principal-restricted login), enonic/xp#12460 and enonic/xp#12461 (device login served by core, with the ID provider's verification page) and enonic/xp#12473 (actor on logins and audit log entries).

  • web/id-providers: the XP-served device endpoints listed next to the ID provider's own; a note on autoLogin that XP's own bearer tokens are accepted before it runs; a new deviceVerification section with the req.deviceLogin table, the form contract the page posts back, and a minimal TypeScript implementation.
  • web/request-response: request.accessToken on token-authenticated requests.
  • libraries/lib-auth: the principals and actor parameters of login(), with an example.
  • libraries/lib-auditlog: the actor parameter of log() and the field on returned entries.

The platform side, the flow itself, vhost settings and configuration, is in enonic/doc-platform#607.

Draft until the XP chain merges.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J


Generated by Claude Code

claude and others added 20 commits October 16, 2026 09:28
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
… be null #94

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
…r scope

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
… its issuer name

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmGPp3CzNhyaESxdq6id8J

This branch has not been deployed

No deployments
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.

Document device verification and the login actor

2 participants