Comments (6)
本身支持跨域,是通过cookis回写的方式
from xxl-sso.
你好,我本地访问47.99.132.21的sso-server,返回的cookic的session的dimain是47.99.132.21,我本地再访问自己服务时,校验获取cookic的时候,获取不到cookic信息,怎么解决这cookic跨域问题
from xxl-sso.
你好,我本地访问47.99.132.21的sso-server,返回的cookic的会话的dimain是47.99.132.21,我本地再访问自己的服务时,恢复获取cookic的时间,获取不到cookic信息,怎么解决这cookic跨域问题
要通过访问本地服务跳转到47.99.132.21,才会回写token,然后跳转本地,本地解析后,读取redis的信息到重写到本地cookis,
from xxl-sso.
我是本地访问自己服务没有权限 跳转47.99.132.21的sso-server, 进入到47的登录界面, 这时候本地是有cookic的,domain的地址是47的地址. 登录成功重定向到我本地服务之前访问地址, 但是这时候会经过我本地的过滤器嘛,这个时候会校验信息, 可是这时本地cookic还没有写入,只有47的cookic信息,导致获取cookic为null,然后陷入死循环了,
from xxl-sso.
用浏览器看看前端,看看报错没有,可能是因为浏览器的策略引起的,去年谷歌更新了策略,限制了cookis的跨域读取
from xxl-sso.
解决了,他的代码不单单是读取cookic获取sessionId去校验, 再跳转回来的时候,他还读取了请求链接上面的sessionId,并回写入本地Cookic中.我拆他项目时,没有留意只获取cookic, 没有获取链接上面的seesinId回写到本地cookic,所以就陷入死循环了
from xxl-sso.
Related Issues (20)
- 启动报错
- SpringBoot2.X版本什么时候能出一版吗? HOT 1
- 请问xxl-sso如何整合shiro或springsecutity框架 HOT 1
- 希望在介绍中说明是否 OAuth 2.0 和 OIDC HOT 2
- 请问可以统计当前在线人数或者在线用户吗 HOT 1
- 用token方式启动客户端 报 501"sso not login." HOT 2
- 登录态自动延期(支持自定义登录态有效期窗口,默认24H,当登录态有效期窗口过半时,自动顺延一个周期)实现是否有误
- 请教下:Struts 整合SSO怎么整合,可以出个demo
- 非spring boot项目整合SSO
- 当Redis地址的密码部分包含“@”字符时,无法解析Redis地址 HOT 1
- 支持短信验证码登录吗
- 启动报错 HOT 1
- XxlSsoWebFilter logoutPageUrl 缺少当前页面地址,退出登录后重新登录无法跳转回来
- request.getHeader(Conf.SSO_SESSIONID)为null HOT 1
- CS 应用如何接入SSO ?
- 用全局session来判断用户是否登录吗
- 前后端分离应该怎么实现单点登录呢?有没有时序图帮我理解一下(我是新手~~~)
- 源码不进行持续更新了吗? HOT 1
- 可以实现多端同时登录吗?
- 能解除对jedis的依赖吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xxl-sso.