97967[FEATURE] Authenticate backend requests with access tokens
Commit message
Show more Show less
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 9
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/67/97967/9 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/67/97967/9 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V 0 Needs a vote
- core-ci +1 CI
Merge conflicts 37
- 98155[FEATURE] Configure Monolog handlers and inject log writer dependencies
- 84603[TASK] Change typoscript from code to a data cache
- 95125[FEATURE] Support non-PHP cache backends for the site settings cache
- 97235[BUGFIX] Preview hidden pages across site domains
- 97304[WIP][BUGFIX] Render the record form from unsaved values
- 94552[WIP][FEATURE] Passwordless passkey login for the backend
- 97630[!!!][FEATURE] Support dependency injection for routing aspects
- 97556[FEATURE] Store remote media preview images as processed files
- 97554[FEATURE] Introduce remote media providers
- 84995[FEATURE] Allow assigning users to groups in group editor
- 93806[FEATURE] Auto-generate INT columns for type=group relationships
- 93628[WIP][TASK] Make GD the baseline image processor
- 91563[FEATURE] Introduce Action API
- 94753[FEATURE] New TCA type "coordinate"
- 95105[TASK] Apply PHP code simplifications
- 95753[TASK] Cache resolved page routes
- 96543[WIP][POC][TASK] Write and read records by the same rules and rights
- 96319[FEATURE] Undo operations from their notification
- 96661[TASK] Add capability invoker and registry
- 96201[FEATURE] Introduce upload constraints for file uploads
- 96113[WIP][BUGFIX] Honor record web mount exemptions
- 95172[FEATURE] Add EU AI content labelling to file metadata
- 95343[FEATURE] Add `adminOnly` for TCA columns
- 95637[TASK] Introduce FieldValidationService for TCA field validation
- 94543[!!!][BUGFIX] Pass request through writelog() to log login IP
- 94207[FEATURE] Explicit access declaration for backend routes
- 91423[WIP][TASK] Move config values to both section columns and config
- 70840[WIP][FEATURE] Add possibility to add HTTP headers in frontend
- 66214[FEATURE] Allow text-track files for videos
- 80554[TASK] Prefer CSP hash values over nonce values
- 90107[FEATURE] Introduce database-only storage for OnlineMedia files
- 90533[!!!][WIP][FEATURE] Store OnlineMedia preview images in FAL storage
- 91404[!!!][TASK] Remove re-login password popup functionality
- 91411[WIP][FEATURE] Add support for HEIC and HEIF image formats
- 83623[WIP][FEATURE] Introduce System Settings API & Editor
- 85574[WIP][FEATURE] Language-aware slugs and slug normalizer API
- 79622[WIP][FEATURE] Introduce video and audio file lists
Show 32 more changes Show less
Issues 2
Files 33
- typo3/sysext/backend/Classes/Http/RouteDispatcher.php+7 −1
- typo3/sysext/backend/Classes/Middleware/BackendUserAuthenticator.php+27 −0
- typo3/sysext/backend/Classes/Security/LegacyBackendAuthenticator.php+5 −0
- typo3/sysext/backend/Classes/Security/RouteAuthentication.phpnew+86 −0
- typo3/sysext/backend/Classes/Security/SessionAuthenticator.php+5 −0
- typo3/sysext/backend/Classes/Security/TokenAuthenticator.phpnew+157 −0
- typo3/sysext/backend/Tests/Functional/Security/TokenAuthenticatorTest.phpnew+390 −0
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php+31 −0
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php+104 −10
- typo3/sysext/core/Classes/Command/AccessTokenCreateCommand.phpnew+115 −0
- typo3/sysext/core/Classes/Command/AccessTokenListCommand.phpnew+103 −0
- typo3/sysext/core/Classes/Command/AccessTokenRevokeCommand.phpnew+67 −0
- typo3/sysext/core/Classes/Security/AccessToken/Event/BeforeAccessTokenAuthenticatedEvent.phpnew+53 −0
- typo3/sysext/core/Classes/Security/AccessToken/Scope/ContentReadScope.phpnew+68 −0
- typo3/sysext/core/Classes/Security/AccessToken/Scope/ContentWriteScope.phpnew+59 −0
- typo3/sysext/core/Classes/Security/AccessToken/Scope/TokenScopeInterface.phpnew+47 −0
- typo3/sysext/core/Classes/Security/AccessToken/Scope/TokenScopeRegistry.phpnew+82 −0
- typo3/sysext/core/Classes/Security/AccessToken/AccessToken.phpnew+77 −0
- typo3/sysext/core/Classes/Security/AccessToken/AccessTokenContext.phpnew+40 −0
- typo3/sysext/core/Classes/Security/AccessToken/AccessTokenFormat.phpnew+83 −0
- typo3/sysext/core/Classes/Security/AccessToken/AccessTokenIssuer.phpnew+147 −0
- typo3/sysext/core/Classes/Security/AccessToken/AccessTokenRepository.phpnew+96 −0
- typo3/sysext/core/Classes/Security/AccessToken/IssuedAccessToken.phpnew+33 −0
- typo3/sysext/core/Classes/Security/Authorization/Voter/ScopeVoter.phpnew+81 −0
- typo3/sysext/core/Configuration/DefaultConfiguration.php+1 −0
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml+3 −0
- typo3/sysext/core/Configuration/Services.php+2 −0
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111562-AuthenticateBackendRequestsWithAccessTokens.rstnew+117 −0
- typo3/sysext/core/Resources/Private/Language/access_tokens.xlfnew+14 −0
- typo3/sysext/core/Tests/Functional/Security/AccessToken/AccessTokenIssuerTest.phpnew+169 −0
- typo3/sysext/core/Tests/Functional/Security/Authorization/Voter/ScopeVoterTest.phpnew+228 −0
- typo3/sysext/core/Tests/Unit/Security/AccessToken/AccessTokenFormatTest.phpnew+78 −0
- typo3/sysext/core/ext_tables.sql+22 −0
Show 13 more files Show less
Review log 918
-
Benni Mack uploaded patch set 1 11/24/26, 17:29
-
core-ci voted on patch set 1 V +1 11/24/26, 17:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115311
-
Benni Mack uploaded patch set 2
V +111/24/26, 18:28 -
core-ci voted on patch set 2 V +1 11/24/26, 18:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115317
-
Benni Mack uploaded patch set 3
V +111/25/26, 06:45 -
core-ci voted on patch set 3 V +1 11/25/26, 06:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115356
-
Oli Bartsch uploaded patch set 4
V +111/26/26, 21:15 -
core-ci voted on patch set 4 V -1 11/26/26, 21:27 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115628
-
Oli Bartsch uploaded patch set 5
V -111/26/26, 21:39 -
core-ci voted on patch set 5 V +1 11/26/26, 21:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115638
-
Benni Mack uploaded patch set 6
V +111/27/26, 14:44 -
core-ci voted on patch set 6 V +1 11/27/26, 15:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115743
-
Benni Mack uploaded patch set 7
V +111/28/26, 14:03 -
core-ci voted on patch set 7 V +1 11/28/26, 14:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115848
-
Benni Mack uploaded patch set 8
V +111/28/26, 15:16 -
core-ci voted on patch set 8 V +1 11/28/26, 15:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115863
-
Benni Mack uploaded patch set 9
V +111/28/26, 19:02 -
core-ci voted on patch set 9 V +1 11/28/26, 19:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115884