Enforce system wide sso providers (#9058)
We have recently introduced the possibility to specify workspace specific auth providers. I'm: - introducing system wide auth providers (provided by clientConfig) - making sure workspace specific auth providers belong to system wide auth providers set
This commit is contained in:
@ -1,10 +1,17 @@
|
||||
import { ClientConfig } from '~/generated-metadata/graphql';
|
||||
import { CaptchaDriverType } from '~/generated/graphql';
|
||||
import { CaptchaDriverType, ClientConfig } from '~/generated/graphql';
|
||||
|
||||
export const mockedClientConfig: ClientConfig = {
|
||||
signInPrefilled: true,
|
||||
isMultiWorkspaceEnabled: false,
|
||||
isSSOEnabled: false,
|
||||
authProviders: {
|
||||
google: true,
|
||||
magicLink: false,
|
||||
password: true,
|
||||
microsoft: false,
|
||||
sso: [],
|
||||
__typename: 'AuthProviders',
|
||||
},
|
||||
frontDomain: 'localhost',
|
||||
defaultSubdomain: 'app',
|
||||
chromeExtensionId: 'MOCKED_EXTENSION_ID',
|
||||
|
||||
Reference in New Issue
Block a user