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:
–header ‘accept: application/json’
–header ‘content-type: application/x-www-form-urlencoded’
–header ‘Authorization: Basic MG9haWsycTF2OHhGbTBnaU4waDc6SGNGaXlSZXpXZXJXcFVzWE1aTFp6YzAwWFUxeDZoU3NoS0Z5b3ZyZg==’
Users are created through ADFS, so would this approach of getting access token work for my case?