I am having the application works with OIDC protocol with authorization code flow. I have also enabled MFA (Push Notification) also.
Usecase 1:
When I directly access the application using the URL, it first asks for the username, then if not logged in the browser before, it asks for credentials. After credentials provided, it asks for push notification verification. then finally it redirects to home. It is working as expected.
Usecase 2:
Whereas in this Usecase, I am logging in to the Okta first and then from Okta I am launching my application. In this case, it asked for the push notification verification. After verification it is again redirecting to the login page instead of home page. But when I click the login button from my application, it lands to the home page.
Expected: After push notification verification, it should redirect to the landing page.
Note:
I using the passport-openidconnect strategy node_module in backend as middleware. In the first case I am getting Access and Refresh token but in second case it is not.
Can someone please help, is there any config to be done at OKTA as I am new to OKTA?