Does resource owner password Flow works with ADFS


I am planning to set-up a native app in OKTA with grant type as Resource Owner Password. My goal is to create an API which returns the access token. I am using below curl request:

–request POST
–url https://<>
–header ‘accept: application/json’
–header ‘content-type: application/x-www-form-urlencoded’
–header ‘Authorization: Basic MG9haWsycTF2OHhGbTBnaU4waDc6SGNGaXlSZXpXZXJXcFVzWE1aTFp6YzAwWFUxeDZoU3NoS0Z5b3ZyZg==’
–data ‘grant_type=password&username=<>password=<>&scope=custom_scope’

Users are created through ADFS, so would this approach of getting access token work for my case?


First, you will want to change your keys as the Authorization you listed is a simple base64 encoded string that can be decoded to get the id and secret to access your application.

in theory, yes, it should work. Have you tried this route. are you experiencing any issues here?

I have not yet tried it, but i saw below link where in it is mentioned that resource owner password flow got failed for ADFS users, so just want to confirm if i should even think about designing solution in this way:

Resource Owner Password Flow Native App Failure