I'm now working with the Azure AD authentication through this two samples, and it's all worked fine:
But is there any way to authenticate Azure AD with restful API like below?
POST https://loginmicrosoft/XXXXXX
Body
{
"username":"YOURACCOUNT",
"password":"YOURPASSWORD"
}
The Reason I want to use this way is because we have our own login page and want to integrate with Azure AD.