Validate domain has been verified (#11125)

- Added client-side validation that the domain has been verified.
This commit is contained in:
Jared McCannon 2024-09-23 10:33:44 -05:00 committed by GitHub
parent c484f8306c
commit 2b462b6fd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;