deuxhuithuit / craft-admin-panel-controllers
Adds controller to show the admin panel in headless mode
Installs: 188
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:craft-plugin
Requires
- php: 8.1.*|8.2.*|8.3.*
- craftcms/cms: ^4.5.0|^5.0.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.22
README
Install
composer require deuxhuithuit/craft-admin-panel-controllers ./craft plugin/install admin-panel-controllers
It will add 3 endpoints:
- /actions/admin-panel-controllers/dashboard/redirect
- /actions/admin-panel-controllers/auth/check
- /actions/admin-panel-controllers/edit/redirect?site={entry.site}&uri={entry.uri}
For the auth check to work in headless mode, sameSiteCookieValue
in general.php
has to be set to none
.