Partner Zone

http://desktop redirect not working

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
Stuart_Donaldson
Valued Partner
492 Posts
Valued Partner
Australia
Valued Partner

492Posts

3Kudos

18Solutions

Solved: Go to Solution

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?

 

Stuart Donaldson (RMP)
donaldsonsit@bigpond.com
Developer, ODBC, Access, Crystal
28 Beleura Hill Rd, Mornington, Vic 3931. Ph: 0418 148 569



.
2 REPLIES 2
Stuart_Donaldson
Valued Partner
492 Posts
Valued Partner
Australia
Valued Partner

492Posts

3Kudos

18Solutions

Accepted Solution Solved

Re: http://desktop redirect not working

Solved... listening port incorrectly set in code...

Stuart Donaldson (RMP)
donaldsonsit@bigpond.com
Developer, ODBC, Access, Crystal
28 Beleura Hill Rd, Mornington, Vic 3931. Ph: 0418 148 569



.
Leneth_A
MYOB Moderator
1,874 Posts
MYOB Moderator
MYOB Moderator

1,874Posts

78Kudos

228Solutions

Re: http://desktop redirect not working

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
 

MYOB Community Forum

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Accept it as a Solution
Leave a to tell others

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post