1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00
bitwarden-browser/libs/common/src
Jared Snider 51a6b34cc2
Auth/PM-7467- Fix Refresh token issues (#8757)
* PM-7467 - Login Strategy bug - VaultTimeoutSettings will be undefined before the account is activated unless you pass in user ids to retrieve the data. This resulted in refresh tokens always being set into secure storage regardless of a user's vault timeout settings (logout should translate to memory)

* PM-7467 - TokenSvc - Fix bug in getRefreshToken which would retrieve the user's refresh token from secure storage even if the user had changed their vault timeout setting to log out which moved the refresh token into memory. Includes a migration to remove the no longer required REFRESH_TOKEN_MIGRATED_TO_SECURE_STORAGE state provider flag.

* PM-7467 - Per PR feedback, use IRREVERSIBLE for rollback.

Co-authored-by: Jake Fink <jfink@bitwarden.com>

* PM-7467 - fix tests

* PM-7467 - Fix migrator based on PR feedback.

* PM-7467 - Bump migration version

---------

Co-authored-by: Jake Fink <jfink@bitwarden.com>
2024-04-16 14:05:47 -04:00
..
abstractions [AC-2330] Updated Cipher Collections Now Sets Readonly Properly (#8549) 2024-04-12 14:41:05 -05:00
admin-console Update Organization and Policy Services to allow the passing of a user id and to prevent hangs waiting on an active user (#8712) 2024-04-12 10:21:19 -04:00
auth Auth/PM-7467- Fix Refresh token issues (#8757) 2024-04-16 14:05:47 -04:00
autofill Autofill: Use UserKeyDefinitions for user-scoped data (#8588) 2024-04-03 08:18:26 -04:00
billing Add tax information to provider setup component when FF is on. (#8616) 2024-04-10 14:10:47 -04:00
enums [AC-2436] Show unassigned items banner in web (#8655) 2024-04-10 11:52:13 -05:00
models [PM-5540] DesktopSettingsService (#8369) 2024-03-21 13:53:12 -04:00
platform [PM-5273] Migrate state in CipherService (#8314) 2024-04-16 17:37:03 +01:00
services [PM-5499] auth request service migrations (#8597) 2024-04-15 12:34:30 -04:00
state-migrations Auth/PM-7467- Fix Refresh token issues (#8757) 2024-04-16 14:05:47 -04:00
tools [PM-7419] add buffered state (#8706) 2024-04-12 13:31:58 -04:00
types [PM-6194] Refactor injection of services in browser services module (#8380) 2024-04-10 14:02:46 +01:00
vault [PM-5273] Migrate state in CipherService (#8314) 2024-04-16 17:37:03 +01:00
globals.d.ts Move to libs 2022-06-03 16:24:40 +02:00