Hi Mong, I'm not entirely sure offhand how to configure SMTP auth using OAuth. But, I can verify that DSpace uses the JavaMail API to authenticate via SMTP. Therefore, I suspect you may need to configure `mail.extraproperties` (see dspace.cfg) to pass along whatever additional properties are required for JavaMail to authenticate using OAuth. I know these extraproperties are also required when configuring DSpace to use Gmail (so I suspect Microsoft OAuth may be similar).
Here's the setting in dspace.cfg that I'm talking about: https://github.com/DSpace/DSpace/blob/main/dspace/config/dspace.cfg#L204-L208 There are also some general docs about it here: https://wiki.lyrasis.org/display/DSDOC7x/Configuration+Reference#ConfigurationReference-DSpaceEmailSettings If you find the correct settings for Microsoft's OAuth, please let us know...we could always add them to the docs as a hint for others. Tim On Monday, November 21, 2022 at 9:42:52 PM UTC-6 [email protected] wrote: > Dear colleagues, > > Microsoft has strongly advised not to use SMTP Auth as it will not be > supported in the future > ,leaving OAuth as the only viable authentication type ( > https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online > ) > > We are trying to figure out whether SMTP authentication using OAuth is > supported on DSpace. If so, how can we configure this? > > Kind regards, > Mong > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/d4e1398b-1c08-4718-b50b-6cb2425db82dn%40googlegroups.com.
