clients/apps/desktop
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 Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
config [deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601) 2025-01-14 11:23:59 -05:00
desktop_native SSH Agent v2: server framework (#19119) 2026-03-19 07:48:50 -06:00
fastlane [BRE-1281] Strip bullets from changelog in fastlane (#17237) 2025-11-05 19:54:58 +00:00
macos Add generic autofill provider library [PM-29786] (#18075) 2026-01-27 13:41:07 -05:00
native-messaging-test-runner [deps]: Update module-alias to v2.3.4 (#19000) 2026-03-13 10:44:00 -04:00
resources fix incorrect GNOME Snap tray icon (#19298) 2026-03-18 17:05:32 -05:00
scripts [BRE-1530] Updating certificate name from 8bit to Bitwarden (#19380) 2026-03-04 16:16:12 -05:00
src [PM-27125] Add cookies to fetch requests (#19588) 2026-03-20 10:19:21 +01:00
stores Bump year in copyright (#18132) 2025-12-29 09:10:34 -06:00
.gitignore [bre-1089] mac desktop publish automation using fastlane (#16091) 2025-08-28 10:53:17 -04:00
CLAUDE.md [PM-26337] Create a Claude markdown file (#16676) 2025-10-03 16:48:01 +02:00
crowdin.yml Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
custom-appx-manifest.xml [BRE-1621] Fix Appx Release (#19043) 2026-02-18 06:57:29 -06:00
electron-builder.beta.json Add publisherName to Electron build process (#19591) 2026-03-17 07:44:56 -04:00
electron-builder.json Add publisherName to Electron build process (#19591) 2026-03-17 07:44:56 -04:00
installer.nsh [PM-2021] Remove startup entry on windows uninstall (#16701) 2025-10-03 17:57:47 +02:00
jest.config.js Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
package.json Bumped Desktop client to 2026.3.0 2026-03-05 14:02:20 +00:00
postcss.config.js eslint: report unused disable directives (#13463) 2025-03-10 09:33:08 -04:00
project.json build(desktop): integrate nx (#16860) 2025-10-14 06:27:38 -04:00
README.md Remove gitter chat badges from READMEs (#19368) 2026-03-04 16:33:27 +00:00
sign.js Add signing options for DLLs and Node files (#19197) 2026-02-25 13:25:12 -05: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.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00
tsconfig.main.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00
tsconfig.preload.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00
tsconfig.renderer.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00
tsconfig.spec.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00
webpack.base.js [PM-30404] Exclude .wasm.js from babel (#18555) 2026-02-06 08:42:08 +01:00
webpack.config.js [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00

Github Workflow build on main Crowdin

Bitwarden Desktop Application

Platforms

The Bitwarden desktop app is written using Electron and Angular. The application installs on Windows, macOS, and Linux distributions.

Desktop Vault

Documentation

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