awesomemotive / WP-Mail-SMTP

The most popular WordPress SMTP and PHP Mailer plugin. Trusted by over 3 million sites.
https://wordpress.org/plugins/wp-mail-smtp/
GNU General Public License v3.0
55 stars 34 forks source link

Authorization Error #95

Closed mwoodpatrick closed 3 years ago

mwoodpatrick commented 3 years ago

auth_issue

Expected Behavior

I installed version 3.0.2 and was re-enabling the connection

Current Behavior

Google gave me the error

Authorization Error Error 400: redirect_uri_mismatch You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. \n\nIf you're the app developer, register the redirect URI in the Google Cloud Console. Learn more Request Details redirect_uri=https://connect.wpmailsmtp.com/google/

How to fix

capuderg commented 3 years ago

Hi @mwoodpatrick

it looks like your Google's OAuth app does not have the correct Redirect URI configured.

Please add the https://connect.wpmailsmtp.com/google/ URL to your Google's OAuth app Redirect URI setting. You can also follow the steps in this guide, in order to see where this URL has to be added.

Once you do that, please perform the connection in our plugin settings. That will resolve your issue.

I'll close this issue, but if you still have any problems, please let us know and we'll reopen it.

Take care!