Title: Cannot complete authorization
Last modified: June 9, 2021

---

# Cannot complete authorization

 *  Resolved [rairose](https://wordpress.org/support/users/rairose/)
 * (@rairose)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/cannot-complete-authorization/)
 * I’m trying to complete the setup for WP Mail SMTP. I’ve created the credentials
   in my Google Admin console and I entered my client ID and client secret into 
   the WP Mail SMTP settings. When I click “Allow plugin to send emails using your
   google account,” it takes me to login to my google account. I do that, and then
   I get an error page saying that the page can’t be found.
 * See screenshots here:
    [https://turpeninsurancelubbock.com/wp-content/uploads/2021/06/Turpen-Email-Issue-1.png](https://turpeninsurancelubbock.com/wp-content/uploads/2021/06/Turpen-Email-Issue-1.png)
 * [https://turpeninsurancelubbock.com/wp-content/uploads/2021/06/Turpen-Email-Issue.png](https://turpeninsurancelubbock.com/wp-content/uploads/2021/06/Turpen-Email-Issue.png)
 * Why can’t I get past this stage to complete the authorization? Why would the 
   page not be able to load?

Viewing 1 replies (of 1 total)

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/cannot-complete-authorization/#post-14544905)
 * Hi [@rairose](https://wordpress.org/support/users/rairose/),
 * Thanks for reaching out. Usually, this happens when the request from Google with
   an auth code is blocked by some firewall like mod_security apache module set 
   by your server. From the screenshots, it looks like there is the scope and code
   in the URL sent from Google is correct but something is redirected to 404.
 * Are you using an older version of the plugin (the latest is 2.8.0) or have been
   using Gmail mailer for a while? In the newer version of the plugin, the authorization
   URL would be: [https://connect.wpmailsmtp.com/google/](https://connect.wpmailsmtp.com/google/)
   and usually fix such as issue. So, you might want to re-do all the steps in the
   [Gmail mailer setup documentation ](https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/)
   once again.
 * I hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Cannot complete authorization’ 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/)

## Tags

 * [authorization](https://wordpress.org/support/topic-tag/authorization/)
 * [page can't be found](https://wordpress.org/support/topic-tag/page-cant-be-found/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/cannot-complete-authorization/#post-14544905)
 * Status: resolved