Messaging channels : SMTP with OAuth2
Hello,
I would like to setup an SMTP (smtp.office365.com) messaging channel with OAuth 2 authentication (https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth)
Is it supported by Dataiku and if yes what would be the Extra properties to setup ?
As is the underlying library is the standard java library for mail (https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html), it should be the case.
Thanks in advance for your help
Operating system used: Centos
Answers
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
Hi @jonas
It is not currently possible to use OAuth2 with SMTP. We are aware that Microsoft announced they want to deprecate SMTP with basic Auth so we already have an enhancement request to add OAuth2 for SMTP.
-
jonas Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 4 ✭✭✭
Any visibility regarding when this feature will be available ?
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
I do not have timelines. This is under R&D consideration at this moment.
-
acoronel Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 2 Partner
Hello, has this feature been implemented?
I can't find any documentation and in DSS11 UI I can't see any option apart of just username / password.Thanks!!!!
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
@acoronel
This was implemented in DSS 12 :
https://doc.dataiku.com/dss/latest/release_notes/12.html#scenarios
-> Added a new mail channel to send emails using Microsoft365 with OAuthRelevant doc on how to set it up: https://doc.dataiku.com/dss/latest/scenarios/reporters.html#microsoft-365-integration-setup