Add simplesaml setup
This commit is contained in:
10
www/login/index.php
Normal file
10
www/login/index.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require_once(__DIR__ . '/../../vendor/simplesamlphp/simplesamlphp/lib/_autoload.php');
|
||||
$as = new SimpleSAML_Auth_Simple('default-sp');
|
||||
$as->requireAuth();
|
||||
|
||||
$attributes = $as->getAttributes();
|
||||
print_r($attributes);
|
||||
?>
|
||||
|
||||
test
|
Reference in New Issue
Block a user