Gem 求 rails 单点登陆经验

Unknow user · December 29, 2011 · Last by poshboytl replied at February 04, 2012 · 6271 hits

有没有人分享一下

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

Unknow user #3 December 29, 2011

不知道有没有人用过这个 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

Unknow user #6 December 30, 2011

谢谢

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

就用 omniauth 就足够了...

You need to Sign in before reply, if you don't have an account, please Sign up first.