diff --git a/waspc/data/Generator/templates/server/src/auth/providers/oauth/init.ts b/waspc/data/Generator/templates/server/src/auth/providers/oauth/init.ts index 3c9105992..130836ebb 100644 --- a/waspc/data/Generator/templates/server/src/auth/providers/oauth/init.ts +++ b/waspc/data/Generator/templates/server/src/auth/providers/oauth/init.ts @@ -56,11 +56,11 @@ async function addProviderProfileToRequest( function ensureValidConfig(provider: ProviderConfig, config: OAuthConfig): void { if (!config.clientID) { - throw new Error(`The ${provider.displayName} auth provider requires clientID provided via env varibales.`) + throw new Error(`The ${provider.displayName} auth provider requires clientID provided via env variables.`) } if (!config.clientSecret) { - throw new Error(`The ${provider.displayName} auth provider requires clientSecret provided via env varibales.`) + throw new Error(`The ${provider.displayName} auth provider requires clientSecret provided via env variables.`) } if (!config.scope || !Array.isArray(config.scope)) { diff --git a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/.waspchecksums b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/.waspchecksums index 0cccefb83..4c585eb99 100644 --- a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/.waspchecksums +++ b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/.waspchecksums @@ -158,7 +158,7 @@ "file", "server/src/auth/providers/oauth/init.ts" ], - "7db2dc4736dadede12c9f85a88d31b992fe26ad06d57dde34784a2db54356ee4" + "ff022c6f9132db9c3833afd12018fecfcdd3243cbf9e5d1b69367864301fe085" ], [ [ diff --git a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/server/src/auth/providers/oauth/init.ts b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/server/src/auth/providers/oauth/init.ts index 3c9105992..130836ebb 100644 --- a/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/server/src/auth/providers/oauth/init.ts +++ b/waspc/e2e-test/test-outputs/waspComplexTest-golden/waspComplexTest/.wasp/out/server/src/auth/providers/oauth/init.ts @@ -56,11 +56,11 @@ async function addProviderProfileToRequest( function ensureValidConfig(provider: ProviderConfig, config: OAuthConfig): void { if (!config.clientID) { - throw new Error(`The ${provider.displayName} auth provider requires clientID provided via env varibales.`) + throw new Error(`The ${provider.displayName} auth provider requires clientID provided via env variables.`) } if (!config.clientSecret) { - throw new Error(`The ${provider.displayName} auth provider requires clientSecret provided via env varibales.`) + throw new Error(`The ${provider.displayName} auth provider requires clientSecret provided via env variables.`) } if (!config.scope || !Array.isArray(config.scope)) {