问题
How can you configure ADAL JS to use an on-premise Active Directory (Windows Server 2012 R2, ADFS)? The announcement post (http://www.cloudidentity.com/blog/2014/10/28/adal-javascript-and-angularjs-deep-dive/) and samples on GitHub (https://github.com/AzureADSamples) do not specifically address this. Or is that not a supported scenario?
回答1:
this is currently not supported. ADFS does not support the oauth2 implicit grant, which is at the heart of the scenario
回答2:
With ADFS 4.0 and Windows Server 2016 this is now possible, you can use adal.js as is for authentication of users on on-premise ADFS
来源:https://stackoverflow.com/questions/27155588/adal-javascript-support-for-on-premise-adfs-adal-js