Hi @Javier Gutiérrez ,
Thanks for reaching out.
Could you please check that user account you are using is not fall under below:
- ROPC doesn’t work when there's any interruption to the authentication flow that needs user interaction. For example, when a password expires or needs to be changed, multifactor authentication is required, or when more information needs to be collected during sign-in (for example, user consent).
- ROPC supports local accounts only. Users can’t sign in with federated with Identity providers like Microsoft, Google+, Twitter, AD-FS, or Facebook.
- Session Management, including keep me signed in, isn't applicable.
Did you try that user account is working for your first ROPC flow?
Please confirm so we can help you further.
Thanks,
Shweta