mirror of
https://github.com/bitwarden/jslib
synced 2025-12-13 06:43:20 +00:00
Add helper methods to EnvironmentService for retrieving urls (#435)
This commit is contained in:
@@ -143,8 +143,7 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
|
||||
await this.storageService.save(ConstantsService.ssoCodeVerifierKey, ssoCodeVerifier);
|
||||
|
||||
// Build URI
|
||||
const webUrl = this.environmentService.getWebVaultUrl() == null ? 'https://vault.bitwarden.com' :
|
||||
this.environmentService.getWebVaultUrl();
|
||||
const webUrl = this.environmentService.getWebVaultUrl();
|
||||
|
||||
// Launch browser
|
||||
this.platformUtilsService.launchUri(webUrl + '/#/sso?clientId=' + clientId +
|
||||
|
||||
Reference in New Issue
Block a user