Mailbox access using OAuth2 ?

121 views
Skip to first unread message

frank.l...@outlook.de

unread,
Sep 16, 2022, 3:35:57 PMSep 16
to WildFly
Hi,

Microsoft announced to disable basic authentication (username + password) in favor of modern authentication using OAuth2.
At least one of our customers is using Wildfly 10 with IMAP configured to access a postbox hosted on Office365. Others only use SMTP for sending mails which will further support Basic Authentication.
Jakarta Mail / Java Mail supports OAuth2: https://eclipse-ee4j.github.io/mail/OAuth2

How could IMAP work integrated in Wildfly 10 ff ?

Tomaž Cerar

unread,
Sep 17, 2022, 6:14:34 AMSep 17
to frank.l...@outlook.de, WildFly
Hey,

you should be able to configure that by using "custom" session type in configuration of mail subsystem.
This allows you to specify all the javamail properties directly, see https://wildscribe.github.io/WildFly/10.1/subsystem/mail/mail-session/custom/index.html


--
Tomaž


--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/2e3b50b7-7a52-4241-9223-99623da941c7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages