<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009osBiRCAUOkta Classic EngineAuthenticationAnswered2023-11-08T18:01:23.000Z2023-11-07T15:19:55.000Z2023-11-08T18:01:23.000Z

LincyR.15910 (Customer) asked a question.

Authn API signInWithCredentials is not giving 'MFA_REQUIRED' in the response status

We are invoking the Authn API signInWithCredentials with username and password and expect to get 'MFA_REQUIRED' in the response status and details about the next steps or authenticator factors. But the obtained response have status as 'SUCCESS' and we couldn't figure out details about the next steps/authenticators.

It is invoked as below:-

await this.oktaAuth.signInWithCredentials({ username: this.userName, password: this.password });

 

MFA methods are already added and we were getting corresponding details in NextSteps when we were using idx APIs.

Could you please help with how to get those details with the Authn APIs


This question is closed.
Loading
Authn API signInWithCredentials is not giving 'MFA_REQUIRED' in the response status