Error 400 redirect_uri_mismatch on local server
-
Hi,
I’m trying to receive wp emails from localhost but I get this error when trying to confirm authorization:400.
Error: redirect_uri_mismatchThe 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=trueI 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
- The topic ‘Error 400 redirect_uri_mismatch on local server’ is closed to new replies.