authentication - Issue authenticating Web App and Web Api in Azure -


i deployed web app , web api project azure app service. added authentication web app , web api using azure active directory. when calling web api web app getting below error. have enabled cors in web api.

xmlhttprequest cannot load https://login.windows.net/2xxxxxxx/oauth2/autho…fvalues%2fgetmaxdate&nonce=80daeef12xxxxxxxxxx_201xxxxxxx453. no 'access-control-allow-origin' header present on requested resource. origin 'null' therefore not allowed access. 

if remove azure active directory authentication web api works fine. cannot remove authentication web api entering api url browser give user json data.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -