Issue Feature Under Review Quiet

#111048Allow backend routes to be redirected to standalone after login

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

Description

Backend routes can opt in to be restored after login via the redirect route option ('enable' => true plus allowed parameters). After a successful login, the user is always sent to the backend main view (route main), which then loads the requested route inside the content frame.

This does not fit routes that render a complete page on their own and must not be wrapped in the backend document, for example an OAuth consent screen (#111047) that an external application sends the user to.

Add a new option 'standalone' => true to the redirect route configuration. If set, the login redirects directly to the requested route with its parameters instead of the backend main view:

'oauth_authorize' => [
    'path' => '/oauth/authorize',
    'target' => AuthorizationController::class . '::authorizeAction',
    'redirect' => [
        'enable' => true,
        'standalone' => true,
        'parameters' => ['client_id' => true, ...],
    ],
],

Reviews 1

History 28

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