-
Notifications
You must be signed in to change notification settings - Fork 29
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
Google SMTP 2FA: google identify Grav as not secure #75
Comments
What docs? Are you talking about the oauth plugin? |
Nop the About oauth I'm saying that because I have an other app (Spark) that use gmail to send email and it's seems to use oauth: As you can see this app is in gmail list of app that have an access (Grav is not here): Google asked me only once if I authorised Spark to control email... Grav cool probably do the same nope? |
Ah ok, you definitely do have to use a single-app password, bug that should still work as long as you are using TLS security. If that's still not working, the the issue is likely do do with Swiftmail itself, as all that authentication is handled via Swiftmail plugin. The Grav email plugin simply passes the values along. I will try to test this scenario though as I also have 2factor auth setup on my account. |
Yep I'm using TLS.
Tell me if I can give you more information to help. |
PS: If you didn't read the return content message on my first post the following should help:
|
Just tested and it worked fine with this setup:
also worked fine with I think its something with your app password to be honest. |
Yes my configuration was good, it's exactly the same as yours. But I found something... So I just tried with a classical gmail address and an app password... That's mean there is some kind of problem because the username is not Do you have an idea why? |
Nope, I actually used my |
I don't get it... Just by changing user from You use |
yes, you have to login with the email in question and generate your password for that email. I don't have a regular gmail one and a gsuite one, only gsuite and that's how i login and generate the app password. |
Dam it, that's exactly what I do too... 😞 |
Thanks for you support Andy. I'll probably contact google, as I don't know what I can do on my side |
For people running into the same issue while using G Suite follow this steps:
|
Yes I know Andy but this setting is not in the same place in G suite. |
@rhukster I suggest reopening this issue because Google Workspace (using Gmail) dropped the support for less secure password apps. It is recommended to use OAuth 2.0 to authenticate. |
Hi,
I'm following all the steps from the
readme
for 2FA protected gmail account without success.It always returns me an error and gmail send me security email:
the error header:
the error content:
the gmail security email:
sorry it's in french but it's basically saying: "we just blocked a connexion trial to your account from an app with security risk"
To be sure my grav configuration was working I've made some test with an other gmail account but without 2FA and by activating
less secure apps
option. And this time It was working... Mails are properly send!Of course activating
less secure apps
is not an option for production for obvious reasons.If Grav is not consider by Google as secure maybe the best way would be to add an
oauth
solution for this plugin? (from what I've read on google...)I hope you have some kind of solution :)
Thank you
The text was updated successfully, but these errors were encountered: