Skip to content

Commit

Permalink
Validate domain has been verified (#11125)
Browse files Browse the repository at this point in the history
- Added client-side validation that the domain has been verified.
  • Loading branch information
jrmccannon authored Sep 23, 2024
1 parent c484f83 commit 2b462b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/app/auth/sso.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2b462b6

Please sign in to comment.