Hi support team,
I have created a trial account in OKTA to test MFA (Multi factor authentication) as SMS as a second layer for authentication… I am using postman(I have already set Environment variables like username, password, url, stateToken and factorId) to test the same and below are the two API endpoints which i am calling from postman in order:
- {{url}}/api/v1/authn
This API gives response with below status:
“status”: “MFA_REQUIRED”,
- Now I am trying to test the SMS notification using below endpoint:
{{url}}/api/v1/authn/factors(Enroll SMS Facore) and getting below response:
{
“errorCode”: “E0000079”,
“errorSummary”: “This operation is not allowed in the current authentication state.”,
“errorLink”: “E0000079”,
“errorId”: “oaeNIILJT2qR0OIvCeTwNcCfg”,
“errorCauses”: [
{
“errorSummary”: “This operation is not allowed in the current authentication state.”
}
]
}
Why I am getting above response please let me know as I am not able to understand what I am doing wrong.
Thanks,
Shailendra J