Skip to content

Commit 802a31e

Browse files
fix(web): compare AUTH_EE_GCP_IAP_ENABLED to 'true' explicitly
Co-authored-by: Brendan Kellam <10233483+brendan-kellam@users.noreply.github.com>
1 parent ce0510a commit 802a31e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/web/src/ee/features/sso

packages/web/src/ee/features/sso/sso.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export const getEEIdentityProviders = async (): Promise<IdentityProvider[]> => {
199199
}
200200

201201
if (Object.keys(identityProviders).length === 0) {
202-
if (env.AUTH_EE_GCP_IAP_ENABLED && env.AUTH_EE_GCP_IAP_AUDIENCE) {
202+
if (env.AUTH_EE_GCP_IAP_ENABLED === 'true' && env.AUTH_EE_GCP_IAP_AUDIENCE) {
203203
providers.push({
204204
__provider: createGCPIAPProvider('gcp-iap', env.AUTH_EE_GCP_IAP_AUDIENCE),
205205
type: "gcp-iap",

0 commit comments

Comments
 (0)