Azure-Samples/active-directory-angularjs-singlepageapp-dotnet-webapi

Enable Cors Attribute

Opened this issue · 1 comments

In Step 3 - Instruction 5 we are told "In the [EnableCors...] attribute, enter the location of the To Do SPA client."

  1. I don't see any EnableCors attribute in the controller.
  2. I don't see EnableCors attribute in any of the referenced libraries.

If I add a reference to Microsoft.AspNet.WebApi.Cors then I get the attribute, but this doesn't seem right to me.

Closing this as we are archiving this sample. Please check out the new sample at ms-identity-javascript-angular-spa-aspnetcore-webapi.