Comments (5)
登录时返回写入的cookie只是对应登录页面域名的cookie,并没有保存到当前client端对应域名下的cookie,所以只能通过url携带token,通过拦截验证再次跳转的方式来将token写到当前域名的cookie中
from smart-sso.
其实这里我也一直不理解,不知道您现在有没有搞懂,搞懂的话可以解释下吗?
其实这里的代码逻辑对应的sso校验流程图里的-->本地token不存在,要去服务端去校验<--这一步的吧,就是下图的这部分逻辑,但为什么这里却没有走rpc调用去检测服务端是否存在token,而是从request里直接取值,百思不得其解。看到作者说request.getParameter(SSO_TOKEN_NAME)里的SSO_TOKEN_NAME是sso授权回调的参数token名称,但在哪里回调的代码又找不到,实在费解,您现在懂得话,还请指点一下。
from smart-sso.
from smart-sso.
from smart-sso.
from smart-sso.
Related Issues (20)
- spring-boot集成
- demo访问问题
- Is it possible to integrate Spring security?
- Cryptographic API misuse detected
- token过期时间问题 HOT 2
- maven install 报错
- 你好 能否出个docker部署或测试站点
- 亲,这个项目啥开源协议啊? HOT 1
- 客户端验证地址 http://localhost:8082/smart-sso-demo/index
- 配置了单点登录后,Springboot就不能跨域访问了 HOT 2
- 数据库脚本执行错误
- 用户没有超级管理员! HOT 1
- acitiveMQ的配置报红
- smart单点登录原理 图 有问题吧?
- 前后端分离场景下跨域问题 HOT 2
- SSO统一认证中心 HOT 8
- http://116.196.102.142:2200/sso
- Jenkins通过smart sso server 以CAS插件方式认证报错 HOT 1
- 请问这种跨不同根域名的的单点登录,用原生的oauth2框架能实现吗?感觉有点难啊,原生的oauth2不太好扩展
- 这个项目还有在维护吗 HOT 1
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 smart-sso.