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

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -