Skip to content

Commit f7029fa

Browse files
revert: restore truthy check for AUTH_EE_GCP_IAP_ENABLED
This reverts 802a31e. Co-authored-by: Brendan Kellam <10233483+brendan-kellam@users.noreply.github.com>
1 parent 802a31e commit f7029fa

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 === 'true' && env.AUTH_EE_GCP_IAP_AUDIENCE) {
202+
if (env.AUTH_EE_GCP_IAP_ENABLED && 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)