diff --git a/apps/web/src/app/auth/sso.component.ts b/apps/web/src/app/auth/sso.component.ts index 2b8f20ed424..731cade3746 100644 --- a/apps/web/src/app/auth/sso.component.ts +++ b/apps/web/src/app/auth/sso.component.ts @@ -141,6 +141,10 @@ export class SsoComponent extends BaseSsoComponent { } submit = async () => { + if (this.formGroup.invalid) { + return; + } + this.identifier = this.identifierFormControl.value; await this.ssoLoginService.setOrganizationSsoIdentifier(this.identifier); if (this.clientId === "browser") {