IntuitDeveloper / HelloWorld-PHP

Starter app in PHP using OAuth2 that demonstrates how to make a QBO API Call
Apache License 2.0
33 stars 46 forks source link

Cannot generate access token #5

Open Dbinutu opened 5 years ago

Dbinutu commented 5 years ago

I have gone through the sample code, I have been able to successfully redirect to and from intuit server after clicking the connect button. When I look at my callback url , I realized that $_SERVER['QUERY_STRING'] is empty, and parseAuthRedirectUrl gives error because code is not defined in $qsArray['code'].

Please note that I am using a development environment and pretty url's like mysite/some-link.

Thank you!