-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
前后端分离场景下跨域问题 #59
Comments
没啥用,他这个filter会拦截你session里面是否有token,有的话才放过,没有的话就获取v_param的值,但是这里就尴尬了,获取了v_param还是返回一个false,后面会重定向。看ssofilter isAccessAllowed这里面的逻辑 |
unsubscribe
…------------------ 原始邮件 ------------------
发件人: "a466350665/smart-sso" <[email protected]>;
发送时间: 2021年1月15日(星期五) 下午2:13
收件人: "a466350665/smart-sso"<[email protected]>;
抄送: "Subscribed"<[email protected]>;
主题: Re: [a466350665/smart-sso] 前后端分离场景下跨域问题 (#59)
把smart用在前后端分离场景下,会出现跨域错误,目测是ssofilter下的截断请求后并redirect造成的,有没有办法解决,或者有什么其他比较好的方案吗?
没啥用,他这个filter会拦截你session里面是否有token,有的话才放过,没有的话就获取v_param的值,但是这里就尴尬了,获取了v_param还是返回一个false,后面会重定向。看ssofilter isAccessAllowed这里面的逻辑
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
把smart用在前后端分离场景下,会出现跨域错误,目测是ssofilter下的截断请求后并redirect造成的,有没有办法解决,或者有什么其他比较好的方案吗?
The text was updated successfully, but these errors were encountered: