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

  • 4 months later...

Has anyone found a solution for Microsoft? Our email account on Exchange has stopped working with Prestashop.

I created the application and have the client ID and secret key, but it doesn't work when I add them to the email settings in Prestashop.

Has anyone found a workaround for Microsoft accounts?

Thanks

Link to comment
Share on other sites

How things have turned out with google and still trusting them? 
Domain mails are much more trustworthy and look way more professional. 

Google sacrifices their Adwords clients for the AI. 
Conversion rates went from 53 to below 10%. Only in parts are Adwords management faults responsable.   

 

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

Thanks, but I was wondering about setting up a professional account on Microsoft.

We have our corporate email hosted on Microsoft, and now it's only possible to use emails with this authentication. We need to set up one of these accounts so that PrestaShop can send emails for customer orders or notifications to the administrator.

Has anyone been able to resolve this? Thank you very much.

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...