I am currently developing an AngularJS web app and am currently trying to 
authenticate certain subsections of the site.

The situation is the following:

   - 
   
   I have my index.html main page with an ng-view.
   - 
   
   When certain subsection views are loaded, I want to authenticate those 
   parts of the site.
   - 
   
   I have to use an existing CAS server, which works by calling a php 
   library.
   - 
   
   This library will redirect to the authentication server with a call back 
   to the original url when it is done.
   - 
   
   The problem is that since the call comes from the partial view, the 
   redirect does not work because it comes from an Xml Http Request and I get 
   a No 'Access-Control-Allow-Origin' header error.
   
So my question is how can I either make this request work (with no access 
to the auth server) or make the request comes from the main (and not the 
partial view) so it paths properly.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to