Okta resource owner password flow

I am trying to use the curl request mentioned at Implement authorization by grant type | Okta Developer

but i am getting below error, any idea on this.
{“error”:“invalid_grant”,“error_description”:“Resource owner password credentials authentication denied by sign on policy.”}

Hi @sachinkadam, the resource owner password flow does not support MFA. If you have an MFA policy enabled for this application while trying to use this grant type, you will receive this error.

1 Like

Hi @louie can you please suggest a way how to use OKTA SSO for my use case wherein I want to get the access_token using curl request with the user credentials ie username and password without MFA.