Adding a check to config for isDev - don't use multi-tenant google SSO default in dev.
This commit is contained in:
parent
e181b5652a
commit
b7fe83ad17
|
@ -162,7 +162,7 @@ export async function getGoogleConfig(): Promise<
|
||||||
export async function getGoogleDatasourceConfig(): Promise<
|
export async function getGoogleDatasourceConfig(): Promise<
|
||||||
GoogleInnerConfig | undefined
|
GoogleInnerConfig | undefined
|
||||||
> {
|
> {
|
||||||
if (!env.SELF_HOSTED) {
|
if (!env.isDev() && !env.SELF_HOSTED) {
|
||||||
// always use the env vars in cloud
|
// always use the env vars in cloud
|
||||||
return getDefaultGoogleConfig()
|
return getDefaultGoogleConfig()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue