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:
@@ -138,8 +138,8 @@ export class LoginComponent implements OnInit {
|
|||||||
await this.storageService.save(ConstantsService.ssoCodeVerifierKey, ssoCodeVerifier);
|
await this.storageService.save(ConstantsService.ssoCodeVerifierKey, ssoCodeVerifier);
|
||||||
|
|
||||||
// Build URI
|
// Build URI
|
||||||
const webUrl = this.environmentService.webVaultUrl == null ? 'https://vault.bitwarden.com' :
|
const webUrl = this.environmentService.getWebVaultUrl() == null ? 'https://vault.bitwarden.com' :
|
||||||
this.environmentService.webVaultUrl;
|
this.environmentService.getWebVaultUrl();
|
||||||
|
|
||||||
// Launch browser
|
// Launch browser
|
||||||
this.platformUtilsService.launchUri(webUrl + '/#/sso?clientId=' + clientId +
|
this.platformUtilsService.launchUri(webUrl + '/#/sso?clientId=' + clientId +
|
||||||
|
|||||||
Reference in New Issue
Block a user