Skip to content

Commit

Permalink
joined group claims into string, added array of groups to hans since …
Browse files Browse the repository at this point in the history
…he's not in seed
  • Loading branch information
stefanaz2 authored and sfrunza13 committed Mar 14, 2023
1 parent c06c9a8 commit 4453612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/routes/login/callback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const action = async ({ request }: ActionArgs) => {
username,
samlResponse.attributes.displayname,
samlResponse.attributes.email,
samlResponse.attributes.group
samlResponse.attributes.group.join(',')
);
}

Expand Down
2 changes: 1 addition & 1 deletion config/simplesamlphp-users.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'displayname' => 'Hans Solo',
'email' => 'hansolo@myseneca.ca',
'sAMAccountName'=> 'han.solo',
'group'=>'mycustomdomain-admins',
'group'=>array('mycustomdomain-faculty', 'mycustomdomain-admins'),
),
),

Expand Down

0 comments on commit 4453612

Please sign in to comment.