Mailchimp Oauth2 sample app troubleshooting

2019-09-08 04:23发布

问题:

I keep getting the following error when I try to use the Mailchimp OAUTH2 sample app (PHP).

For your reference, here's their github repo: https://github.com/mailchimp/OAuth2-sample-apps

However, my client id and client secret are correct (have copied and pasted them multiple times).

Complete Failure!: redirect_uri_mismatch

This likely means that you have entered a bad client_id or client_secret or you are being awesome and checking to see this failure occur. 

Try Again?

If it helps, I'm using the Yii 2 framework.