Comments (10)
为了做前后端分离或者说我们有客户端给客户端开登陆接口
from sso.
为什么要这么考虑,使用出场景是什么?
from sso.
单点登录的情况下做前后端分离都是比较牵强的,没有找到一个很好的方案,目前方法可以采用rest在客户端进行调用,jwt在业务系统生成
from sso.
嗯,我目前的做法是开一个接口返回tgt实现,另外一个接口根据tgt和serviceId生成st,然后客户端或者浏览器铜鼓serviceId?ticket=st的方法
from sso.
不然只有改源码,rest接口模拟cas登录
from sso.
无需那么复杂,cas支持rest对接 官方文档地址:https://apereo.github.io/cas/5.1.x/protocol/REST-Protocol.html
客户端cas-client也支持这样的做法,而spring-security应该也是支持的,但我没尝试过
from sso.
如果是webservice方式的登录接口呢?
from sso.
webservice只是业务系统对外开放的一种方式,跟cas无关,只要对接上了cas。以什么方式都是一样
from sso.
嗯,我已经实现了
from sso.
感谢
from sso.
Related Issues (20)
- 验证码 HOT 5
- sso-management 模块启动后访问一直返回404页面 HOT 1
- [ 登出 ]是否可以修改发送登出时使用的方法 HOT 1
- 不好意思 想请问 您文章的内容 HOT 1
- 登录界面在Client客户端实现SSO(需求) HOT 2
- 企业微信整合
- 服务管理后台使用jpa持久层有问题 HOT 1
- CAS集成LDAP的例子
- 对于前后端分离的项目如何集成cas HOT 6
- [CAS-5.2.X] [问题] 自定义认证流程 HOT 2
- client-shiro对于/user/**的anon配置没有启用 HOT 2
- 集成本地数据库密码加盐问题 HOT 5
- CAS服务端集群配置
- cas 怎么支持桌面应用程序 HOT 1
- 调试自定义主题界面问题
- 请问做着还维护这个社区么? HOT 1
- 项目还维护吗?
- win7 ie10 11,不支持cookie注入?怎么处理
- Security issue: `state` parameter missing in redirect URL
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 sso.