Jump to content

Oauth2 module for sending mail with Microsoft accounts


Jose-Antonio

Recommended Posts

  • 1 month later...

Hi guys, I'm looking for the same. Is there some module or some instructions to add Oauth 2.0 authentication for the backoffice emails sent by Prestashop on new order, etc...?

Gmail Workspace is stopping the support of password based authentication

 

Link to comment
Share on other sites

  • 2 months later...
Posted (edited)
On 3/10/2025 at 10:48 PM, ps_developer said:

Hi guys, I'm looking for the same. Is there some module or some instructions to add Oauth 2.0 authentication for the backoffice emails sent by Prestashop on new order, etc...?

Gmail Workspace is stopping the support of password based authentication

 

Same problems:

Starting March 14, 2025, Google Workspace accounts will no longer support less secure apps, meaning those that ask to access your Google Account using a username and password. To access third-party and platform-specific apps, it will be necessary to use OAuth

 

Have you found a solution?

Edited by camfab (see edit history)
Link to comment
Share on other sites

Hi camfab, yes, you cannot use a standard google workspace account with username and password for the Prestashop backoficce authentication.

However google workspace still allows to create an "application password". For that, with the google account that you normally use for sending the backoffice emails at Prestashop, you just go to "https://security.google.com" (login in with such account).

You have to enable MFA / double authentication. After that, you can create there itself an "application password" for that account. You will only see the application password when you are creating it, take not of it as you cannot visualize it on security.google.com later on.

So at Prestashop you configure the same email address that you were configuring before, and the application password as the password (the previous regular user password will not work as double authentication has been activated).

It works like that.

Of course, it can work also with oauth2, but Prestashop doesn't natively support Oauth2 and I couldn't find any module to do so (and the application password makes it simple and works fine).

Best Regards

  • Like 1
Link to comment
Share on other sites

Thanks!
 had understood the opposite because I looked in the administrative section of google workspace (and not in the individual account)

Thanks for the information! I managed to solve the problem!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...