mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
fix(tde-offboarding): Auth/PM-19165 - Handle TDE offboarding on an untrusted device with warning message (#15430)
When a user logs in via SSO after their org has offboarded from TDE, we now show them a helpful error message stating that they must either login on a Trusted device, or ask their admin to assign them a password. Feature flag: `PM16117_SetInitialPasswordRefactor`
This commit is contained in:
@@ -17,8 +17,8 @@ export class IdentityTokenResponse extends BaseResponse {
|
||||
tokenType: string;
|
||||
|
||||
resetMasterPassword: boolean;
|
||||
privateKey: string;
|
||||
key?: EncString;
|
||||
privateKey: string; // userKeyEncryptedPrivateKey
|
||||
key?: EncString; // masterKeyEncryptedUserKey
|
||||
twoFactorToken: string;
|
||||
kdf: KdfType;
|
||||
kdfIterations: number;
|
||||
@@ -62,4 +62,8 @@ export class IdentityTokenResponse extends BaseResponse {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
hasMasterKeyEncryptedUserKey(): boolean {
|
||||
return Boolean(this.key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user