1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-07 12:25:46 +02:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
Matt Gibson 6b66f14319
Update web sso content to indicate window OK to close (#720)
* Update web sso content to indicate window OK to close

This is done after the authResult handoff message is delivered to the
extension. It is not possible to close the window from javascript as
closing a window is limited to the script that opened it.

If we maintain a reference to the web window, it should be possible to
subscribe to the authResult message and close the web windows from the
browser.

* Use i18n for close tab message

* delete cookie after it is used

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-11-25 15:57:11 -06:00
jslib@abb54f0073 update jslib (#717) 2020-11-23 17:36:17 -05:00
src Update web sso content to indicate window OK to close (#720) 2020-11-25 15:57:11 -06:00
.dockerignore docker build updates 2018-07-18 15:21:51 -04:00
.editorconfig HTTPS link to EditorConfig.org (#694) 2020-11-09 15:30:33 -05:00
.gitattributes Added .gitattributes file to files requiring LF endings are properly checked out on Windows. (#279) 2018-10-18 12:15:54 -04:00
.gitignore local webfonts 2018-07-18 10:32:44 -04:00
.gitmodules use https for submodule 2018-07-09 16:52:46 -04:00
appveyor.yml PUSH_DOCKER checks 2019-03-19 22:17:03 -04:00
build.sh docker build updates 2018-07-18 15:21:51 -04:00
CONTRIBUTING.md Docs contrib (#696) 2020-11-10 10:52:09 -05:00
crowdin.yml map en-IN 2020-09-28 14:21:11 -04:00
dev-server.shared.pem rename dev cert to shared 2018-06-05 11:14:53 -04:00
Dockerfile docker health check 2019-07-26 11:59:59 -04:00
entrypoint.sh webVault param 2018-08-07 15:04:30 -04:00
gulpfile.js sweetalert: ported to sweetalert2 and simplified code. (#465) 2020-03-02 13:52:09 -05:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2020-03-06 08:27:39 -05:00
LICENSE.txt
package-lock.json bump version 2020-11-12 22:49:30 -05:00
package.json bump version 2020-11-12 22:49:30 -05:00
README.md Update README.md 2018-07-26 10:03:55 -04:00
SECURITY.md
tsconfig.json sweetalert: ported to sweetalert2 and simplified code. (#465) 2020-03-02 13:52:09 -05:00
tslint.json implement two-factor setup page 2018-06-26 22:51:58 -04:00
webfonts.list gulp webfonts task as part of build 2018-07-18 10:54:22 -04:00
webpack.config.js SSO support (#575) 2020-07-16 09:18:25 -04:00

The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).

appveyor build Crowdin DockerHub gitter chat

Build/Run

Requirements

Run the app

npm install
npm run build:watch

You can now access the web vault in your browser at https://localhost:8080. You can adjust your API endpoint settings in src/app/services/services.module.ts by altering the apiService.setUrls call. For example:

await apiService.setUrls({
    base: isDev ? null : window.location.origin,
    api: isDev ? 'http://mylocalapi' : null,
    identity: isDev ? 'http://mylocalidentity' : null,
});

If you want to point the development web vault to the production APIs, you can set:

await apiService.setUrls({
    base: null,
    api: 'https://api.bitwarden.com',
    identity: 'https://identity.bitwarden.com',
});

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.