#111047Provide authenticated access to the Action API for external applications
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
-
Georg Ringer changed status
NewAccepted <span data-processor="relativetime" data-value="2026-10-14T11:48:00+00:00" > 10/14/26, 11:48 </span> -
Gerrit Code Review pushed patch set 41 for main to change 91486 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-10-14T12:54:02+00:00" > 10/14/26, 12:54 </span> -
Benjamin Franzke changed parent task #111053 <span data-processor="relativetime" data-value="2026-10-14T12:58:20+00:00" > 10/14/26, 12:58 </span>
-
Gerrit Code Review pushed patch set 42 for main to change 91486 <span data-processor="relativetime" data-value="2026-10-14T13:17:25+00:00" > 10/14/26, 13:17 </span>
-
Gerrit Code Review pushed patch set 43 for main to change 91486 <span data-processor="relativetime" data-value="2026-10-28T13:44:22+00:00" > 10/28/26, 13:44 </span>
-
Gerrit Code Review pushed patch set 44 for main to change 91486 <span data-processor="relativetime" data-value="2026-11-03T17:37:02+00:00" > 11/03/26, 17:37 </span>
-
Gerrit Code Review pushed patch set 45 for main to change 91486 <span data-processor="relativetime" data-value="2026-11-03T20:11:43+00:00" > 11/03/26, 20:11 </span>
-
Gerrit Code Review pushed patch set 46 for main to change 91486 <span data-processor="relativetime" data-value="2026-11-04T16:04:12+00:00" > 11/04/26, 16:04 </span>
-
Gerrit Code Review pushed patch set 47 for main to change 91486 <span data-processor="relativetime" data-value="2026-11-05T07:03:47+00:00" > 11/05/26, 07:03 </span>
-
Gerrit Code Review pushed patch set 48 for main to change 91486 <span data-processor="relativetime" data-value="2026-11-06T10:12:04+00:00" > 11/06/26, 10:12 </span>