Hi, weāre using SuiteCRM with GSuite as our email provider, as Iām sure lots of others are as well. We do this by connecting via IMAP with password based authentication, allowing āless secure appsā and permitting IMAP access in the GSuite settings.
Today Google announced that they are phasing out less secure apps access to Gsuite. Password based access will no longer be supported and instead any apps using Gmail will need to log in through OAuth. We wonāt be able to add any new email users to Suite by June 15, 2020.
Since our email through Suite will eventually stop working unless we do something, we might not want to wait until next June. It would probably be better to connect using more secure methods anyways.
Anyone have a current recommended setup with SuiteCRM using Oauth to access Gmail rather than IMAP/ app password? Should we be looking at third party connectors? Or just wait a bit for an update to Suite? We are on 7.11.10.
Thanks,
I am paying a developer to create an āappā to send out via Gmail, once itās approved and working, hopefully within a week or two, Iāll try to remember to share the info here and donate the relevant code to the Community.
It seems that Google cancelled the deprecation of these āless secure appsā.
However, we should still make SuiteCRM compatibly with the new, more secure scheme.
As far as I can tell it should be just a matter of storing an extra bit of data (OAuth token) and being able to present it to Google when connecting. Thereās probably some work to be done around the flow of the email settings - taking users to the Google sign-in page and getting the token back from that automatically.
Modified the core functionality that sends out emails so it sends emails using API calls (currently WIP)
Instead of Service Accounts you can also go the more traditional OAUTH 2 way which involves having each user grant access to the app through a consent screen, but with service account itās easier because you donāt need to request permissions and token refresh is more reliable
Once we finish with the core modification Iād love to share the code also.
Just following and wondering if a solution is at hand. I am not able to get past authentication errors (gmail via workspace/G suite) states email/password combination is not valid (when of course it is). I am using Vultr hosting as the staging server