I don't know if this has been solved or not, I can't seem to find any documentation on it. In our environment we currently have about 6 Umbraco sites across the company. I created a portal to manage the user permissions for all the sites using Active Directory in a central location. I want to add a way to update the content for each site's Dashboard for the editors to read for changes, tips, and new features, etc.
I would agree with you, however it doesn't work with IE or Firefox on the server none localhost.
I have added the code below to app.js however this sets requests to OPTIONS which wont work since the portal is set to windows authentication and returns a 401 Unauthorized, which is to be expected. The Angualr side might not be able to create the handhake and authorize to use the Options verb on the API.
After adding this to my web.config on the Portal, the only issue I have to solve is allowing the Umbraco Angular to authorize using Windows authentication when requesting the template.
Centralized Umbraco 7 Dashboards - Access-Control-Allow-Origin
Hey guys,
I don't know if this has been solved or not, I can't seem to find any documentation on it. In our environment we currently have about 6 Umbraco sites across the company. I created a portal to manage the user permissions for all the sites using Active Directory in a central location. I want to add a way to update the content for each site's Dashboard for the editors to read for changes, tips, and new features, etc.
When I add
http://portal.local/api/dashboard/StartupDashboardSection
to the Dashboard.config I'm getting anAccess-Control-Allow-Origin
error which is to be expected.Has anyone been able to solve this or a recommended setup? I can't get
$sceDelegateProvider
to work for some reasonAny ideas?
Hi Dakota
Perhaps this can shed a light on things? Someone says it's a chrome bug? http://stackoverflow.com/questions/21102690/angularjs-not-detecting-access-control-allow-origin-header
/Jan
I would agree with you, however it doesn't work with IE or Firefox on the server none localhost.
I have added the code below to
app.js
however this sets requests toOPTIONS
which wont work since the portal is set to windows authentication and returns a 401 Unauthorized, which is to be expected. The Angualr side might not be able to create the handhake and authorize to use the Options verb on the API.After adding this to my web.config on the Portal, the only issue I have to solve is allowing the Umbraco Angular to authorize using Windows authentication when requesting the template.
is working on a reply...