bitwarden-estensione-browser/libs/auth
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
..
src Auth/PM-7467- Fix Refresh token issues (#8757) 2024-04-16 14:05:47 -04:00
README.md [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
jest.config.js [PM-5255, PM-3339] Refactor login strategy to use state providers (#7821) 2024-03-12 14:19:50 -04:00
package.json [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
test.setup.ts [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
tsconfig.json [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00
tsconfig.spec.json [PM-3172] create @bitwarden/auth lib (#5906) 2023-08-08 09:37:25 -04:00

README.md

Auth

This lib represents the public API of the Auth team at Bitwarden. Modules are imported using @bitwarden/auth.