https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-java-adfs-support#acquire-a-token-via-username-and-password
Samples:
GitHub - Azure-Samples/ms-identity-java-desktop: A desktop application in Java calling Microsoft Graph API
https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-desktop-acquire-token-username-password?tabs=java
Last updated 2 years ago