Skip to content

Commit

Permalink
fix supported attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Nov 9, 2023
1 parent bf00fb8 commit ef51f7f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions roles/demo-sp/files/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit ef51f7f

Please sign in to comment.