Replies: 0
Hello,
I using the Settings page to configure a Gmail e-mail account. The “Authorized redirect URI” parameter contains the IP address of my website, not the actual domain name. When I click the “Allow plugin to send emails using your Google account” button I get the following error message:
400. That’s an error.
Error: invalid_request
Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://54.174.132.6/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth
Learn more
Request Details
response_type=code
access_type=offline
client_id=249006306959-m7go7eq8ss0per56evs1fmg6asqh5tqe.apps.googleusercontent.com
redirect_uri=http://54.174.132.6/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth
state=
scope=https://mail.google.com/
approval_prompt=force
include_granted_scopes=true
That’s all we know.
The URL shown in my browser while on the Settings page is the IP address, not the domain name. The domain name is configured correctly in DNS since I can use it to get to my website.
Thank you for your help,
Bob