From d1dd484c0e9d372185671e11362f543dd1064890 Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Thu, 12 Oct 2023 14:47:12 +0200 Subject: [PATCH] fix supported attributes --- roles/demo-sp/files/auth.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/roles/demo-sp/files/auth.php b/roles/demo-sp/files/auth.php index 35198551..8cd919de 100644 --- a/roles/demo-sp/files/auth.php +++ b/roles/demo-sp/files/auth.php @@ -19,23 +19,24 @@ $FORMATS = array("table", "json", "raw"); $ATTRIBUTES = array( - 'subject-id', - 'eduPersonUniqueId', - 'voPersonExternalID', - 'uid', - 'eduPersonPrincipalName', + 'cn', 'displayName', 'givenName', 'sn', 'mail', + 'eduPersonUniqueId', + 'subject-id', + 'voPersonID', + 'voPersonExternalID', + 'uid', + 'userid', + 'eduPersonPrincipalName', 'eduPersonScopedAffiliation', 'voPersonExternalAffiliation', 'eduPersonEntitlement', 'sshPublicKey', - 'voPersonStatus', ); - # sanitize user input $env = $_SERVER['PATH_INFO']; if (!in_array($env, $ENVS)) {