diff options
| author | Till Glöggler <till@gundk.it> | 2025-06-25 23:40:10 +0200 |
|---|---|---|
| committer | Till Glöggler <till@gundk.it> | 2025-06-25 23:40:10 +0200 |
| commit | 3e7179651cfee753606ad906c07c1e5214c66fd9 (patch) | |
| tree | 0af39b5af7305a7a764a3b133a29134dc0c5533f /app/controllers | |
| parent | 4f60c4922ed96d60c0fa3b77a590e355b21841ca (diff) | |
working on SSO SAMLissue-5663
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/admin/saml.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/controllers/admin/saml.php b/app/controllers/admin/saml.php new file mode 100644 index 0000000..aa65027 --- /dev/null +++ b/app/controllers/admin/saml.php @@ -0,0 +1,33 @@ +<?php + +use Studip\OAuth2\Container; +use Studip\OAuth2\Models\Client; +use Studip\OAuth2\SetupInformation; + +class Admin_SAMLController extends AuthenticatedController +{ + /** + * @param string $action + * @param string[] $args + * + * @return void + */ + public function before_filter(&$action, &$args) + { + parent::before_filter($action, $args); + + $GLOBALS['perm']->check('root'); + + Navigation::activateItem('/admin/config/saml'); + PageLayout::setTitle(_('SAML Verwaltung')); + } + + public function index_action(): void + { + $this->render_vue_app( + Studip\VueApp::create('SSOSAML') + ->withProps([ + ]) + ); + } +} |
