Validate domain has been verified (#11125)
- Added client-side validation that the domain has been verified.
This commit is contained in:
parent
c484f8306c
commit
2b462b6fd6
|
@ -110,7 +110,7 @@ export class SsoComponent extends BaseSsoComponent implements OnInit {
|
||||||
const response: OrganizationDomainSsoDetailsResponse =
|
const response: OrganizationDomainSsoDetailsResponse =
|
||||||
await this.orgDomainApiService.getClaimedOrgDomainByEmail(qParams.email);
|
await this.orgDomainApiService.getClaimedOrgDomainByEmail(qParams.email);
|
||||||
|
|
||||||
if (response?.ssoAvailable) {
|
if (response?.ssoAvailable && response?.verifiedDate) {
|
||||||
this.identifierFormControl.setValue(response.organizationIdentifier);
|
this.identifierFormControl.setValue(response.organizationIdentifier);
|
||||||
await this.submit();
|
await this.submit();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue