Skip to content

Login plugin: Enable configurable Admin-specific login redirects #2495

@thekenshow

Description

@thekenshow

When Admin users in a specific group have limited access (e.g., only to the Careers Flex Directory), automatically redirect them to the admin/careers page upon login to /admin, rather than requiring them to manually click "Careers" after each login.

redirect_after_login: true                # Path to redirect to after a successful login
redirect_after_logout: true               # Path to redirect to after a successful logout
session_user_sync: false                  # Sync session user with changes in stored user file
site_host:                                # Site host to use for email links. Enhances security by ensuring links are to the correct host (e.g. https://foo.com)

route: '/login'                           # Specific route for Login page (default is '/login')
route_after_login: '/admin/pages'         # Route to go to after login if enabled

Another example is redirecting content managers directly to admin/pages instead of requiring them to click "Pages" after each login.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions