Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5161

Error 400 redirect_uri_mismatch on local server

$
0
0

Replies: 0

Hi,
I’m trying to receive wp emails from localhost but I get this error when trying to confirm authorization:

400.
Error: redirect_uri_mismatch

The redirect URI in the request, http://localhost/lacgiu/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: […]

response_type=code
access_type=offline
client_id=32276782684-nccj3f5k8i7oikg4ekbloack16lg30q5.apps.googleusercontent.com
redirect_uri=http://localhost/lacgiu/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth
state=
scope=https://mail.google.com/
approval_prompt=force
include_granted_scopes=true

I followed this guide to setup G Suite: https://wpforms.com/how-to-securely-send-wordpress-emails-using-gmail-smtp/
Since I’m working on a local server, I used (http://)lvh.me as website URL, could that be the problem?

Thanks in advance


Viewing all articles
Browse latest Browse all 5161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>