Forum Discussion

Stuart_Donaldson's avatar
Stuart_Donaldson
Valued Partner
2 years ago
Solved

http://desktop redirect not working

My app Oauth procedure (written in VBA) loads the URL into an ActiveX Browser window and brings up the Acceptance page which functions correctly generating the Authorisation but then returns the following:

 

Starting Oauth
Login response URL https://secure.myob.com/oauth2/account/authorize?client_id=[API Key here]&client_secret=[APISecret here]&redirect_uri=http%3A%2F%2Fdesktop%2F&response_type=code&scope=CompanyFile
Waiting for website
Seconds 30
oauth2.AuthFlowState 1
No response from the browser!

 

Browser window shows : 

      Can’t reach this page
      Make sure the web address http://desktop is correct
 

Where am I going wrong?

 

2 Replies

Replies have been turned off for this discussion
  • Leneth_A's avatar
    Leneth_A
    MYOB Moderator

    Hi Stuart_Donaldson 

     

    Thanks for your post.

     

    For any API error/integration-related queries, we recommend raising a support request via the following link: https://apisupport.myob.com/hc/en-us/requests/new

     

    Please don't hesitate to post again if you need help in the future.

     

    If my response has answered your enquiry please click "Accept as Solution" to assist other users find this information.

     

    Cheers,
    Leneth