Gem 求 rails 单点登陆经验

匿名 · 2011年12月29日 · 最后由 poshboytl 回复于 2012年02月04日 · 6270 次阅读

有没有人分享一下

#1 楼 @yangyanhao 我记得这个只支持 1.8,不知道现在怎样了

匿名 #3 2011年12月29日

不知道有没有人用过这个 https://github.com/joshsoftware/sso-devise-omniauth-provider Single Sign-On using Devise and Omniauth We wanted to solve these problems: A single User Manager application (which will authenticate ALL users with different roles) Different internal applications which talk to User Manager for authentication User should be able to login/sign-up via Social Networks like Twitter and Facebook. Single Sign On between all applications.

如果后端 app 全是 ruby 的 rack app,可以用 warden middleware,这样觉得挺方便的。全部 app 跑在一个进程里,需要时调用下 warden 的规则就好了。 这是个例子:http://team.skroutz.gr/posts/skroutz-warden/ 那种凭 key 来做单点登录的,太高端了吧~~

看这个 commit,“all specs should now pass under ruby 1.9.2 and 1.8.7”, https://github.com/gunark/rubycas-server/commit/4369335d745348626dc388b032472f662ea3218e

匿名 #6 2011年12月30日

谢谢

以前用 JAVA 做过课程设计!ruby 的话,不清楚~表示关注~

就用 omniauth 就足够了...

zhaoguobin 单点登录如何解决数据库数据冲突问题呢? 提及了此话题。 04月03日 10:56
需要 登录 后方可回复, 如果你还没有账号请 注册新账号