diff --git a/libs/auth/src/angular/sso/sso-component.service.ts b/libs/auth/src/angular/sso/sso-component.service.ts index b5712dfacc9..6b71b8f9903 100644 --- a/libs/auth/src/angular/sso/sso-component.service.ts +++ b/libs/auth/src/angular/sso/sso-component.service.ts @@ -1,6 +1,10 @@ import { ClientType } from "@bitwarden/common/enums"; -export type SsoClientType = ClientType.Web | ClientType.Browser | ClientType.Desktop; +export type SsoClientType = + | ClientType.Web + | ClientType.Browser + | ClientType.Desktop + | ClientType.Cli; /** * Abstract class for SSO component services. diff --git a/libs/auth/src/angular/sso/sso.component.ts b/libs/auth/src/angular/sso/sso.component.ts index ce63769ffca..d18cc43a4a3 100644 --- a/libs/auth/src/angular/sso/sso.component.ts +++ b/libs/auth/src/angular/sso/sso.component.ts @@ -199,7 +199,9 @@ export class SsoComponent implements OnInit { * @returns True if the value is a valid SSO client type, otherwise false */ private isValidSsoClientType(value: string): value is SsoClientType { - return [ClientType.Web, ClientType.Browser, ClientType.Desktop].includes(value as ClientType); + return [ClientType.Web, ClientType.Browser, ClientType.Desktop, ClientType.Cli].includes( + value as ClientType, + ); } /**