Unable to get stateToken

How I configure the api for mfa_auth so that i can get stateToken insted to session token.
The task i have to perform is send push notification to okta verify app.

You not gonna get a session token until you successfully pass all authentication verifications. So if you have a policy to challenge a user for MFA and your user is enrolled with Okta Verify, then you can use challenge method for the factor to send the push notification.

It’d be easier if you can explain what you are trying to do currently and how it’s different from what you expect.

1 Like

I want to verify the user every-time he logs in to my portal via okta MFA, as you said about MFA policy , I have checked it and added rules for user . Now its working fine , I am receiving stateToken insted of sessionToken .

Thank you for the help.

1 Like