Forum Discussion
Venkatesh_Babu
Aug 25, 2022Copper Contributor
Using MS Client Credentials OAuth flow with JavaMail
Our server application uses JavaMail to read inboxes and send e-mails etc from MS Exchange... As Microsoft is shutting down password based authentication, we need to switch over to using OAuth. We ar...
VictorCanLima
Aug 30, 2022Copper Contributor
Hello Venkatesh, have you been able to solve it?
I am having issues finding a good reference implementation for ISMTP.
However, this site provides the scopes for each protocol, I hope it helps.
https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
IMAP https://outlook.office.com/IMAP.AccessAsUser.All
SMTP https://outlook.office.com/SMTP.Send
I am having issues finding a good reference implementation for ISMTP.
However, this site provides the scopes for each protocol, I hope it helps.
https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
IMAP https://outlook.office.com/IMAP.AccessAsUser.All
SMTP https://outlook.office.com/SMTP.Send