I want to authenticate against our CRM 2016 IFD instance with Javascript to make some Web API calls. How can I do this? According to the MS documentation, this can be done with ADAL.js, but the answer to this question on github says, that the IFD/ADFS scenario is not supported by ADAL.js.
What is the correct approach? Can the authentication be done with ADAL.js or what are the alternatives?