1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[PM-20540] Deep-link refactor to fix SSO deep links (#14587)

* PM-20540 - TwoFactorAuthComponent - Refactor determineDefaultSuccessRoute to rely on user's auth status as the loginStrategyService's state is cleared after successful AuthN

* PM-20540 - DeepLinkGuard - Refactor to exempt login-initiated so that TDE + unlock with MP + deep link works.

* doc: Add documentation and change folder structure.
* test: add test for new excluded route.

---------

Co-authored-by: Jared Snider <jsnider@bitwarden.com>
This commit is contained in:
Ike
2025-05-21 08:24:17 -04:00
committed by GitHub
parent 2e4b310137
commit ae35cb4e65
11 changed files with 153 additions and 68 deletions

View File

@@ -391,7 +391,7 @@ export class Utils {
return str == null || typeof str !== "string" || str.trim() === "";
}
static isNullOrEmpty(str: string): boolean {
static isNullOrEmpty(str: string | null): boolean {
return str == null || typeof str !== "string" || str == "";
}