1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-06 12:02:45 +03:00

Updated OIDC group attr option name

To match the existing option name for display names.
Closes #3704
This commit is contained in:
Dan Brown
2022-09-06 16:32:42 +01:00
parent b9941e8e61
commit 24f82749ff
4 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ class OidcTest extends TestCase
'oidc.dump_user_details' => false,
'oidc.additional_scopes' => '',
'oidc.user_to_groups' => false,
'oidc.group_attribute' => 'group',
'oidc.groups_claim' => 'group',
'oidc.remove_from_groups' => false,
]);
}
@@ -364,7 +364,7 @@ class OidcTest extends TestCase
{
config()->set([
'oidc.user_to_groups' => true,
'oidc.group_attribute' => 'groups',
'oidc.groups_claim' => 'groups',
'oidc.remove_from_groups' => false,
]);
$roleA = Role::factory()->create(['display_name' => 'Wizards']);
@@ -390,7 +390,7 @@ class OidcTest extends TestCase
{
config()->set([
'oidc.user_to_groups' => true,
'oidc.group_attribute' => 'my.custom.groups.attr',
'oidc.groups_claim' => 'my.custom.groups.attr',
'oidc.remove_from_groups' => false,
]);
$roleA = Role::factory()->create(['display_name' => 'Wizards']);