infusionsoft / infusionsoft-php

PHP client library for the Infusionsoft API.
https://developer.infusionsoft.com/
Other
130 stars 128 forks source link

oauth2 authorization error #254

Closed mrkdnllw closed 4 years ago

mrkdnllw commented 4 years ago

Good day!

I'm trying to set up my app for Infusionsoft rest api oauth2.

I get the following URL when doing an rest authorization:

https://localhost:44336/?error=server_error &error_uri=https%3A%2F%2Fdeveloper.infusionsoft.com%2Fdocs%2Fread%2FGetting_Started_With_OAuth2 &error_description=An+error+occurred

I requested the authorization using this url: https://signin.infusionsoft.com/app/oauth/authorize?client_id=6540adac-8892-4de5-812b-847b7092aeb5&redirect_uri=https://localhost:44336/&response_type=code&scope=full

The Infusionsoft account email is different from my infusionsoft developer email. Do they have to be the same for it to work?

Any help is greatly appreciated. Thanks!

ajohnson6494 commented 4 years ago

I think you are using your app id instead of the client_id.

Screen Shot 2020-04-24 at 7 19 12 PM
mrkdnllw commented 4 years ago

thank you so much for responding. yes, it was the app id lol. i changed it. thank you so much!