Ye i get this is a backend issue, i just thought i'd ask here as i wasen't getting much help from another site.
I have enabled cors in the middleware. I can see it in the resources tab however the openid external website url does not have cors enabled and i don't know what to do to enable it on there. On Sunday, June 28, 2015 at 11:30:50 PM UTC+1, Nicholas Shook wrote: > > This should be an issue w/ your server and not your front-end app. Do you > have a CORS-enabled middleware set up? > > On Sunday, June 28, 2015 at 7:35:16 AM UTC-7, K Khan wrote: >> >> Hi, >> >> I have a Laravel and AngularJS app, when i try to make a $http request to >> a specific route which redirects to a different page (openId login). I get >> the following error: >> >> XMLHttpRequest cannot load [The Url] No 'Access-Control-Allow-Origin' header >> is present on the requested resource. Origin 'http://localhost:8000' is >> therefore not allowed access.``` >> >> >> Can someone help me try and fix this? >> >> I have added this to my server but i still get the issue when requesting >> the openid url page. When i look at the network tab no access controls are >> associated with the openid url page only the initial /login route/page >> >> header("Access-Control-Allow-Origin: *"); >> >> >> >> -- 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.
