Skip to content

Commit

Permalink
fix(sso-routing): [Auth/PM-13458] Fixes for routing flow on TDE login (
Browse files Browse the repository at this point in the history
…#13479)

* fix(sso-routing): [PM-13458] Fixes for routing flow on TDE login - Fixed routing flow and added comments.

* fix(sso-routing): [PM-13458] Fixes for routing flow on TDE login - Undid the old sso component flow because we determined it's not worth fixing.

* fix(sso-routing): [PM-13458] Fixes for routing flow on TDE login - Removed flow entirely.
  • Loading branch information
Patrick-Pimentel-Bitwarden authored Feb 26, 2025
1 parent 359007a commit d999d91
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libs/auth/src/angular/sso/sso.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,13 +445,6 @@ export class SsoComponent implements OnInit {
const userId = (await firstValueFrom(this.accountService.activeAccount$))?.id;
await this.ssoLoginService.setActiveUserOrganizationSsoIdentifier(orgSsoIdentifier, userId);

// Users enrolled in admin acct recovery can be forced to set a new password after
// having the admin set a temp password for them (affects TDE & standard users)
if (authResult.forcePasswordReset == ForceSetPasswordReason.AdminForcePasswordReset) {
// Weak password is not a valid scenario here b/c we cannot have evaluated a MP yet
return await this.handleForcePasswordReset(orgSsoIdentifier);
}

// must come after 2fa check since user decryption options aren't available if 2fa is required
const userDecryptionOpts = await firstValueFrom(
this.userDecryptionOptionsService.userDecryptionOptions$,
Expand Down

0 comments on commit d999d91

Please sign in to comment.