Forum Discussion
I feel your pain but wouldn't rush to trying the SDK. I am using the SDK with a desktop app and it no longer works if re-authorisation is required.
After the initial issues a couple of weeks ago, registering a new app and using it's keys eventually worked. The associated production integration is still working fine right now.
However, I noticed a few days ago that trying to run from a new location was unsuccessful. As the SDK was not working, I tried making the OAuth calls directly via a listener on http://localhost:1234 because I wondered if http://desktop was the problem. I get an auth code but when I feed it into the GetTokens method, the scope that is returned is "CompanyFile la.global offline_access openid". I'm assuming from what you are saying is that the 'offline_access' part is the problem?
When I attempt to use the tokens I get a 'Communication exception: The remote server returned an error: (403) Forbidden.'
So many hours wasted. Come on MYOB what is going on?
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.