andymee's recent timeline updates
andymee

andymee

V2EX member #41757, joined on 2013-07-06 22:54:34 +08:00
andymee's recent replies
Nov 30, 2017
Replied to a topic by wanghaa Java 请教个问题,SSO(单点登录)能不能用 JWT 实现?
不管是访问 A 系统 还是 B 系统 都是要跳转到 认证系统 AUTH 去的 比如 auth.app.com 可以在这个域下 创建 COOKIE 这样 在 A 系统跳转到 AUTH 时 创建 cookie token=tk1 然后跳会 A 系统 a.app1.com 带上发给 A 的 cookie token=tk2 之后访问 b.app2.com 发现没有 token 需要登录 那么就跳转到 auth.app.com 这时候 发现已经有 cookie token=tk1 了 那验证登录有效后 带上签发给 B 的 token tk3 跳转 B . 这样访问 B 系统就只是一个跳转 不需要登录了..
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 20:17 · PVG 04:17 · LAX 13:17 · JFK 16:17
♥ Do have faith in what you're doing.