cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use OAUTH2 to connect to SMTP

former_member832723
Discoverer
0 Kudos
817

Some E-Mail Providers will soon stop supporting Username/Password authentication and completely switch to OAUTH2 authentication. Is it possible to use OAUTH2 authentication with hybris mail configuration?

Accepted Solutions (0)

Answers (2)

Answers (2)

yogananda
Product and Topic Expert
Product and Topic Expert

patrick.tognotti

Yes, it is possible to use OAuth2 authentication with hybris mail configuration. Hybris provides an OAuth2MailService class that can be used to authenticate with OAuth2. This class can be configured in the mail configuration of the hybris platform.

former_member832723
Discoverer
0 Kudos

Hi yoganandamuthaiah, we couldn't at all find OAuth2MailService in our project. Is it included in any extension? How would an example config look like? Is there any documentation?

pradywipro
Member
0 Kudos

Hi Yogananda,

I didn't find this class OAuth2MailService in any extension.Is there any document you have ? Also, if you have any example code snippet then please share.

0 Kudos

is there any supporting doc is available?