I've recently started using adal.js with OData in an AngularJS 1.5 application and been getting this error with attempting to connect my client-side XHR requests to my Web API application.
Following the advice here, changing the AAD manifest of the AngularJS web client from this:
"oauth2AllowImplicitFlow": false
... to this:
"oauth2AllowImplicitFlow": true
... seems to have solved the problem.
Showing posts with label angular. Show all posts
Showing posts with label angular. Show all posts
Sunday, February 21, 2016
Wednesday, August 26, 2015
Using ADAL in Javascript to enable use of Azure Active Directory from an AngularJS SPA
Check this out, apparently it came out last fall in Azure:
http://www.cloudidentity.com/blog/2014/10/28/adal-javascript-and-angularjs-deep-dive/
http://www.cloudidentity.com/blog/2014/10/28/adal-javascript-and-angularjs-deep-dive/
Subscribe to:
Posts (Atom)