From 2b462b6fd671fd3321ee6f6e7c5bf0c50a48fd16 Mon Sep 17 00:00:00 2001 From: Jared McCannon Date: Mon, 23 Sep 2024 10:33:44 -0500 Subject: [PATCH] Validate domain has been verified (#11125) - Added client-side validation that the domain has been verified. --- apps/web/src/app/auth/sso.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/auth/sso.component.ts b/apps/web/src/app/auth/sso.component.ts index f55152fed3..e498384c27 100644 --- a/apps/web/src/app/auth/sso.component.ts +++ b/apps/web/src/app/auth/sso.component.ts @@ -110,7 +110,7 @@ export class SsoComponent extends BaseSsoComponent implements OnInit { const response: OrganizationDomainSsoDetailsResponse = await this.orgDomainApiService.getClaimedOrgDomainByEmail(qParams.email); - if (response?.ssoAvailable) { + if (response?.ssoAvailable && response?.verifiedDate) { this.identifierFormControl.setValue(response.organizationIdentifier); await this.submit(); return;