开发者

Google Apps Authentication for a Rails App

I'm currently using Authlogic to handle all user 开发者_开发问答accounts, but our company has switched over to Google apps and I would much rather use that same authentication for all users.

My question is - how?

I know I'll need the ruby-openid gem but I have yet to integrate authentication with a 3rd party. Any recent examples or tutorials out there to help guide the way?

Thanks!


There is a good resource here that I've used to get this working in the past.


This does what you are looking for: authlogic_openid_selector_example. It isn't a tutorial but you can have a look at the code.


Seth Ladd, a Google developer advocates, has a blog post on how to authenticate using a google account in a rails 3 appl. You may need to change the example depending on how google apps is configured in your company.


Just a thought -- RPX has the ability to do logins from google, and you could use the Authlogic RPX plugin

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜