Issue Feature Under Review Quiet

#111047Provide authenticated access to the Action API for external applications

Benjamin Franzke 10/14/26, 11:08 updated 11/06/26, 10:12

Description

The Action API (#111046) is currently only reachable from within a logged-in backend session. External applications (scripts, integrations, MCP clients, AI agents) have no way to authenticate against it.

Introduce a new system extension EXT:hub that provides API access for external applications (“apps”), managed as sys_app records:

  • Static apps: An administrator creates an app bound to a backend user to impersonate and generates a static bearer token in the backend. The token stays valid until the app is disabled or its secret is changed.
  • OAuth apps: OAuth 2.0 authorization code flow (via league/oauth2-server) with refresh tokens. Backend users grant an app access to selected scopes on a consent screen at /typo3/oauth/authorize; tokens are issued at /typo3/oauth/token.
  • Authorization server metadata (RFC 8414) at /.well-known/oauth-authorization-server, allowing clients like MCP to discover the endpoints and supported scopes.
  • Requests to the Action API endpoints without a backend session are authenticated with the app’s token, and the action is executed in the context of the associated backend user.
  • A backend module “Integrations > Hub” lists and manages apps

Reviews 1

History 210

  1. Gerrit Code Review pushed patch set 41 for main to change 91486 status Accepted Under Review <span data-processor="relativetime" data-value="2026-10-14T12:54:02+00:00" > 10/14/26, 12:54 </span>