-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authorization header format is invalid #135
Comments
As an aside, I just tried completely deleting the plugin and reinstalling it. Same behaviour. This is version 4.0.1 Wordpress 6.4.4 |
Hi @crossmr, are you trying to set up our "One-Click Setup" approach for the Gmail mailer (available in our Pro plugin), or did you create your own Gmail App and inputted the "Client ID" and "Client Secret" in our plugin settings? Judging from the screenshot, I think another plugin that also handles Google authorization is interfering and causing issues. Could you please try to disable other plugins that have that feature and try the authorization process again? |
Hello, I've created my own app. I don't believe we're using another plugin that handles Google Authorization. We are using a plugin to connect our Login to AWS Cognito. We have 17 active plugins could you let me know if you recognise any that WP Mail SMTP might conflict with: Activity Log |
The two that stand out and could be the culprits are: OAuthClient Loing for Wordpress If you can temporary disable them and try the Gmail auth in our plugin again. If it goes through, you can re-enable them and them send a test email just to be sure it works OK. Let me know how it goes. |
Apparently I can't disable the first. Every time I do, it claims the site has encountered a critical error and then the plugin stays enabled. I will contact the creator of that plugin. If this turns out to be the issue, I'll report back and this information can be included in your troubleshooting documentation. |
OK, thank you! Please share any updates about this issue when you can. |
Expected Behavior
I expect the WP Mail SMTP plugin to connect to my google account.
Current Behavior
After clicking authorise, it does not connect. I select the google account, click allow and am immediately presented with an empty white screen that says " Authorization header format is invalid" it is unclear if this error is because of an issue coming from google or an issue with the way the plugin is processing the response.
Steps to Reproduce
Screenshots
https://i.imgur.com/gqPtRf7.png
The text was updated successfully, but these errors were encountered: