Skip to content

Commit

Permalink
use redirect mode always for manage mfa
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1995 committed Jan 16, 2025
1 parent 7f415e5 commit 4b0e2dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ export class Auth {

const dataObject: AuthSessionConfig = {
actionType: AUTH_ACTIONS.MANAGE_MFA,
options: this.options,
// manage mfa always opens in a new tab, so need to fix the uxMode to redirect.
options: { ...this.options, uxMode: "redirect" },
params: {
...defaultParams,
...params,
Expand Down

0 comments on commit 4b0e2dc

Please sign in to comment.