Feat: use Connected App for OAuth based Email Account

Dear community, special thanks to @revant_one for taking the initiative for a long waited feature. The PR is merged but without documentation its difficult to configure it. If anyone could share a detailed guideline. Many of us can benefit from

Thanks in Advance

On Azure Portal

Connected App

  • Add list of scopes
  • redirect uri on both ends should match
  • use openid configuration endpoint and or manually save endpoints for authorize and token

Email Account

  • Use same user account as email account or check Always use this email address as sender
2 Likes

Can you please send a screenshot of connected app in ERPnext ?
Sensitive info blured of course
thanks

1 Like

I configured everything and when enabling outgoing emails I get a credentials error

imagen