Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
December 2019
December 2019
Hi, I am getting following response when I am trying authorize my app and it is not going through. The php code I am using is also pasted below <?php $clientID = '{API Key}'; $url = urlencode("https://{mysite}/myob/callback.php"); $ch = curl_init(); $customHeaders = array( 'Content-Type: application/x-www-form-urlencoded' ); curl_setopt($ch, CURLOPT_HTTPHEADER, $customHeaders); curl_setopt($ch, CURLOPT_URL, "https://secure.myob.com/oauth2/Account/Login?client_id=". $clientID ."redirect_uri=". $url ."&response_type=code&scope=la.global"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $data = curl_exec($ch); echo $data; ?> Please let me know what I am doing wrong. Thank you Bhaska Barui |
December 2019
December 2019
Hi @bbarui
Thank you for your post.
Can you please clarify the name of the app you are using and whether it is being used on the phone or desktop. Also, does it happen after you have entered the email address and password for login or at further stages of authentication?
Once I have this information, I would be able to have a look into this for you.
Kind regards,
Komal
MYOB Community Support
Online Help| Forum Search| my.MYOB| Download Page
Did my answer help?
Mark it as a SolutionHelpful? Leave a to tell others
16
|
698
|
|||
9
|
1494
|
|||
5
|
2860
|
|||
45
|
20083
|