WIP: host both service provider and identity provider for local dev

This commit is contained in:
2025-12-17 14:18:30 +09:00
parent 3d07547f80
commit 2262438085
34 changed files with 1595 additions and 73 deletions

View File

@@ -5,7 +5,7 @@ $pdo = new PDO($DB_DSN, $DB_USER, $DB_PASS);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$userManager = new pvv\admin\UserManager($pdo);
$as = new SimpleSAML\Auth\Simple('default-sp');
$as = new SimpleSAML\Auth\Simple('dev-sp');
$as->requireAuth();
$attrs = $as->getAttributes();
$uname = $attrs['uid'][0];