Hello,
I'm trying to use JavaMail to authenticate against Outlook.com via OAuth2 and work with IMAP. Unfortunately, I've run into some challenges. I've seen two responses: 1) use apache commons or 2) the redirect mentioned here. The challenge is, the redirect doesn't have a Java solution. Instead, the solution is specific to Android. For that reason, I'm totally stuck. I've been trying all week to authenticate against Outlook.com via OAuth2 and pull down my emails from my inbox without any luck. I would sincerely appreciate any help I can get.
Thank you for any ones help. I would really like to use JavaMail. However, I see a number of threads on the internet with this same issue, but no responses.