Add managed groups to auth method JUST if is type oidc. Within auth method, show the managed groups tabs JUST if type is oidc
This commit is contained in:
1 parent
b7bf44b997
commit
f8bb37e5af
4 files changed
+12
-7
No files matched your search
@@ -34,7 +34,9 @@ export default factory.extend({
|
||||
user.update({ accountIds: [id] });
|
||||
});
|
||||
|
||||
server.createList('managed-group', 2, { scope, authMethod });
|
||||
if (type === 'oidc') {
|
||||
server.createList('managed-group', 2, { scope, authMethod });
|
||||
}
|
||||
},
|
||||
}),
|
||||
});
|
||||
@@ -22,7 +22,7 @@ export default function (server) {
|
||||
// Auth
|
||||
const globalAuthMethods = server.createList(
|
||||
'auth-method',
|
||||
1,
|
||||
4,
|
||||
{ scope: globalScope },
|
||||
'withAccountsAndUsersAndManagedGroups'
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user