mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
* 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 * Add dialog to cookie acquisition * Fix tests * Add handling the user choosing cancel, which will now cancel the cookie acquisition * Do not retry if needsBootstrap returns false * Fix tests that hadn't been updated seen https:// was appended * Move the sso cookie feature fully into desktop * Move prompt to acquire cookie into ServerCommunicationConfigPlatformApiService and ensures that concurrent calls are dedupes during the callback await and when the dialog is open but no option has been chosen yet * Fix broken import on sso-cookie.main.spec * Update test suite, due to moving the dialog into the ServerCommunicationConfigPlatformApiService * Fix import, that I missed from the move * feat: move subscription into init function --------- Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com> Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| app | ||
| main | ||
| models/domain | ||
| services | ||
| types | ||
| utils | ||
| flags.ts | ||
| popup-modal-styles.ts | ||
| preload.ts | ||