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
50 lines
858 B
TypeScript
50 lines
858 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const GET_CLIENT_CONFIG = gql`
|
|
query GetClientConfig {
|
|
clientConfig {
|
|
billing {
|
|
isBillingEnabled
|
|
billingUrl
|
|
billingFreeTrialDurationInDays
|
|
}
|
|
authProviders {
|
|
google
|
|
password
|
|
microsoft
|
|
sso {
|
|
id
|
|
name
|
|
type
|
|
status
|
|
issuer
|
|
}
|
|
}
|
|
signInPrefilled
|
|
isMultiWorkspaceEnabled
|
|
isSSOEnabled
|
|
defaultSubdomain
|
|
frontDomain
|
|
debugMode
|
|
analyticsEnabled
|
|
support {
|
|
supportDriver
|
|
supportFrontChatId
|
|
}
|
|
sentry {
|
|
dsn
|
|
environment
|
|
release
|
|
}
|
|
captcha {
|
|
provider
|
|
siteKey
|
|
}
|
|
api {
|
|
mutationMaximumAffectedRecords
|
|
}
|
|
chromeExtensionId
|
|
}
|
|
}
|
|
`;
|