1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Fixed web vault URL reference for SSO launch (#175)

This commit is contained in:
Chad Scharf
2020-09-23 10:18:14 -04:00
committed by GitHub
parent f0dc38b1c4
commit 5c6c3a8b0a

View File

@@ -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 +