From 5c6c3a8b0a2fa22da7f5db91da5215d9e728e66f Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Wed, 23 Sep 2020 10:18:14 -0400 Subject: [PATCH] Fixed web vault URL reference for SSO launch (#175) --- src/angular/components/login.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/angular/components/login.component.ts b/src/angular/components/login.component.ts index b55d1f27..2556ed4f 100644 --- a/src/angular/components/login.component.ts +++ b/src/angular/components/login.component.ts @@ -138,8 +138,8 @@ export class LoginComponent implements OnInit { await this.storageService.save(ConstantsService.ssoCodeVerifierKey, ssoCodeVerifier); // Build URI - const webUrl = this.environmentService.webVaultUrl == null ? 'https://vault.bitwarden.com' : - this.environmentService.webVaultUrl; + const webUrl = this.environmentService.getWebVaultUrl() == null ? 'https://vault.bitwarden.com' : + this.environmentService.getWebVaultUrl(); // Launch browser this.platformUtilsService.launchUri(webUrl + '/#/sso?clientId=' + clientId +