I have a password flow for a REST API application. It is set to private so password flow can be used. We are getting the error:
"errorCode" : "OAU-251",
"message" : "Unauthorized for this grant type"
There is no longer a platform question when building an app.
Our grant type is grant_type=password&username={1}&extension=101password={2}
{1}= urlEncode(number) and {2}= urlEncode(password)
& our authorization header is 'Basic ' + $Basic which is a base64 encode of the client_ID:clientSecret
I have tried the username and passwords as just strings with no urlEncode. I have tried removing the +. I have changed the headers & double checked the clientID and client secret of the sandbox as many times as possible. I have followed almost all of the questions the forum has to offer.
Any ideas how to fix this?