Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
Took me a while to figure it out!
Turns out that the code provided from the redirect must be url decoded.
The redirect_uri posted must also be in the decoded format.
I'm trying to perform authentication via the API. This is how I simulate the OAuth Flow:
I put the following URL in my browser:
I'm redirected to the login page and I managed to login successfully. I use the code that was provided to me and put the following values into Postman (screenshot truncated). I can confirm that the redirect_uri and code has been URL encoded:. However, I'm getting this error:
Is what I'm doing a valid way of authenticating?
Solved! Go to Solution.