diff --git a/common/src/services/auth.service.ts b/common/src/services/auth.service.ts index cdfab402..fb8923f1 100644 --- a/common/src/services/auth.service.ts +++ b/common/src/services/auth.service.ts @@ -240,7 +240,7 @@ export class AuthService implements AuthServiceAbstraction { private async processTokenResponse( response: IdentityTokenResponse | IdentityTwoFactorResponse | IdentityCaptchaResponse, newSsoUser: boolean = false, - onSuccess: () => void + onSuccess: () => Promise ): Promise { this.clearState(); const result = new AuthResult();