App is asking MFA every time when switching between two web applications which are using same Auth0 application

There are two web applications. App 1 is React application and App2 is NextJs application.
Both applications are connected with same Auth0 app. User has to login in App1 with Universal login and will be challenged with MFA and they will be landed to the home screen after successful login. They can go to App2 from landing page via some link .

Scenario 1 - After successful login , User can go to App2 from App1.
Scenario 2- User can come back to App1 from App2 any time or they can go to App2 from App1 or vice versa many time once they are logged in from App1

Issue: When user is going to App2 from App1 or coming back to App1 from App2 , Auth0 MFA screen for phone OTP pops up and forcing user to provide OTP every time during application switch.

Hi @Him,

Welcome to the Auth0 Community!

It seems like you may have configured the Require Multi-factor Auth setting to Always.

Could you double check this setting to see if it is configured correctly?

You may need to use a Post-Login action to conditionally trigger/skip MFA to avoid prompting MFA every time.

Thanks,
Rueben

I have got the fix. Here is the post :

MFA Once Per Session Action - Auth0 Community

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.