Skip to content

Commit

Permalink
fix supported attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Oct 12, 2023
1 parent 050523f commit d1dd484
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 d1dd484

Please sign in to comment.