Javascript 从iframe重定向到URL提供访问控制允许原点错误-角度

Javascript 从iframe重定向到URL提供访问控制允许原点错误-角度,javascript,angularjs,redirect,iframe,Javascript,Angularjs,Redirect,Iframe,我有一个客户端在iframe中运行的有角度的webapp 在webapp中,我重定向到客户端在属性文件中指定的url $window.top.location.href = urlClientProvides; 当它尝试重定向时,我收到以下错误: XMLHttpRequest cannot load https://castst.cleintUrl.com:8080/cas/login?service=http%3-someURL-Findex.jsp. No 'Access-Control-

我有一个客户端在iframe中运行的有角度的webapp

在webapp中,我重定向到客户端在属性文件中指定的url

$window.top.location.href = urlClientProvides;
当它尝试重定向时,我收到以下错误:

XMLHttpRequest cannot load https://castst.cleintUrl.com:8080/cas/login?service=http%3-someURL-Findex.jsp. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://lnx1.cleintUrl.com' is therefore not allowed access.
我的应用程序中是否有方法将客户端重定向到“URLClientProviders”,或者他们是否需要使用iframe对页面进行更改