Title: Gmail API Oauth
Last modified: July 8, 2018

---

# Gmail API Oauth

 *  [nilbud](https://wordpress.org/support/users/nilbud/)
 * (@nilbud)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gmail-api-oauth/)
 * Versions:
    WordPress: 4.9.7 WordPress MS: No PHP: 7.2.7 WP Mail SMTP: 1.3.3
 * Params:
    Mailer: gmail Constants: No Client ID/Secret: Yes Auth Code: No Access
   Token: No
 * Server:
    OpenSSL: Yes PHP.allow_url_fopen: Yes PHP.stream_socket_client(): Yes
   PHP.fsockopen(): Yes PHP.curl_version(): Yes
 * Debug:
    Mailer: Gmail Do not know how to execute this type of object.
 * I cannot authorise because I get the following error. I have replaced my site
   with [redacted] because I’m shy. The only other plugins are yoast and wordfence.
 * 400. That’s an error.
 * Error: invalid_request
 * Missing required parameter: client_id
 * Learn more
 * Request Details
    response_type=code redirect_uri=https://[redacted]/wp-admin/
   options-general.php?page=wp-mail-smtp&tab=auth client_id= scope=https://mail.
   google.com/ access_type=offline approval_prompt=force include_granted_scopes=
   true That’s all we know.

The topic ‘Gmail API Oauth’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [nilbud](https://wordpress.org/support/users/nilbud/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/gmail-api-oauth/)
 * Status: not resolved