Title: Forbidden 403 error while authentication
Last modified: January 25, 2022

---

# Forbidden 403 error while authentication

 *  Resolved [hpss007](https://wordpress.org/support/users/hpss007/)
 * (@hpss007)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/forbidden-403-error-while-authentication/)
 * Hi,
 * Everything goes smooth as per the documentation for gmail. Except at the last
   step the app is not getting authenticated and giving forbidden error. I have 
   checked the directory permissions and everything is good. the web app is published
   and external. it just stops at this url and gives forbidden error
 * [https://nycorenovations.com/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth&code=XXXXXXXXXXXXX](https://nycorenovations.com/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth&code=XXXXXXXXXXXXX)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fforbidden-403-error-while-authentication%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Darshana](https://wordpress.org/support/users/darshanaw/)
 * (@darshanaw)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/forbidden-403-error-while-authentication/#post-15295553)
 * Hi [@hpss007](https://wordpress.org/support/users/hpss007/),
 * Thanks for reaching out! The issue is most likely in the mod_security Apache 
   module (or could be Firewall rules) that is working on a server and filtering
   all requests.
 * You will need to contact your hosting support team and ask to modify the mod_security
   rule to allow requests from Google.
 * I hope this helps. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Forbidden 403 error while authentication’ 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

 * [403 Forbidden](https://wordpress.org/support/topic-tag/403-forbidden/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darshana](https://wordpress.org/support/users/darshanaw/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/forbidden-403-error-while-authentication/#post-15295553)
 * Status: resolved