clients/apps/web
Daniel James Smith 3c4d466f25
[PM-27125] Add cookies to fetch requests (#19588)
* feat: add full middleware pipeline support

* Retrieve cookies from storage and attach cookies using Electron session

* Register middleware to act on fetch redirect to acquire cookie for SSO

* Add missing tests

* fix: acquireCookies call

* fix: cookies not getting set

* feat: add vaultUrl to server communication config

* feat: adapt to receiving vaultUrl in acquireCookies

* fix: remove localhost connector override

* Fix requests can't be re-used

* Add small delay to ensure cookies are saved before retrying requests

* Fix vaultUrl being set twice

* Add mock clone method

* Fix sso-cookie.main tests

* Remove old FIXME

* Re-use request and fix test

* Add missing coverage checking that needsBootsrap is called

* In case the hostname can't be extracted, the response is returned

* Only check the responseType instead of also checking statuscodes for redirects

* Bump the sdk-version

* Prepend https:// if necessary before launching the connector url

* Do not retry if needsBootstrap returns false

---------

Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-03-20 10:19:21 +01:00
..
.vscode
config icons and key connector urls for web development (#17043) 2025-10-27 12:40:56 +00:00
scripts
src [PM-27125] Add cookies to fetch requests (#19588) 2026-03-20 10:19:21 +01:00
.dockerignore
.gitignore
CLAUDE.md [PM-26337] Create a Claude markdown file (#16676) 2025-10-03 16:48:01 +02:00
config.js
crowdin.yml [deps]: Update crowdin/github-action action to v2 (#15169) 2025-06-12 17:59:17 -04:00
dev-server.shared.pem
Dockerfile [PM-31831] fix: add support for overriding commercial SDK (#18863) 2026-02-25 11:15:19 +01:00
entrypoint.sh add shadow package, restore entrypoint functionality (#16124) 2025-08-26 08:47:19 -04:00
jest.config.js Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
package.json Bumped client version(s) 2026-03-09 10:53:10 +00:00
postcss.config.js build(web): integrate nx (#16706) 2025-10-13 06:31:17 -04:00
project.json [PM-27564] Self-host configuration is not applied with nx build (#17279) 2025-11-24 16:36:23 +01:00
README.md Remove gitter chat badges from READMEs (#19368) 2026-03-04 16:33:27 +00:00
tailwind.config.js [PM-29448] Consume the new send table in web (#17923) 2025-12-19 16:00:37 +01:00
test.setup.ts [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
tsconfig.build.json [PM-29239] Create proxy cookie redirect connector (#18476) 2026-02-03 07:08:44 -05:00
tsconfig.json [PM-29239] Create proxy cookie redirect connector (#18476) 2026-02-03 07:08:44 -05:00
tsconfig.spec.json [CL-525] Upgrade angular to v19 (#14815) 2025-06-02 13:13:31 -04:00
webpack.base.js [PM-30404] Exclude .wasm.js from babel (#18555) 2026-02-06 08:42:08 +01:00
webpack.config.js [PM-27564] Self-host configuration is not applied with nx build (#17279) 2025-11-24 16:36:23 +01:00

Bitwarden Web App

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

Github Workflow build on main Crowdin DockerHub

Documentation

Please refer to the Web vault section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.