At the Forge - Integrating OpenID
OpenID is a simple but powerful idea that is slowly but surely transforming the way we manage identities on the Internet. A growing number of applications use OpenID, and it is becoming increasingly popular among users as well.
Adding OpenID to an application does not need to be complicated or difficult. As I show this month, incorporating OpenID into a Rails application requires understanding one particular Ruby object, namely OpenID::Consumer, and the odd, redirect-based, three-part OpenID login system specification.
OpenID: the main page for OpenID is openid.net. For documentation about the Ruby gem for OpenID, see openidenabled.com/files/ruby-openid/docs/2.0.4/classes/OpenID/Consumer.html.
OpenID on Rails: the main Wiki page for this is wiki.rubyonrails.org/rails/pages/OpenID.
There are a number of blog postings and tutorials about OpenID and Rails, some of which are more out of date than others. Perhaps the best one is railscasts.com/episodes/68, which is a nice visual introduction (along with source code) about what is happening.
Reuven M. Lerner, a longtime Web/database developer and consultant, is a PhD candidate in learning sciences at Northwestern University, studying on-line learning communities. He recently returned (with his wife and three children) to their home in Modi'in, Israel, after four years in the Chicago area.
Special Reports: DevOps
Have projects in development that need help? Have a great development operation in place that can ALWAYS be better? Regardless of where you are in your DevOps process, Linux Journal can help!
With deep focus on Collaborative Development, Continuous Testing and Release & Deployment, we offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, advice & help from the experts, plus a host of other books, videos, podcasts and more. All free with a quick, one-time registration. Start browsing now...
- The Ubuntu Conspiracy
- Science on Android
- A First Look at IBM's New Linux Servers
- Vigilante Malware
- Disney's Linux Light Bulbs (Not a "Luxo Jr." Reboot)
- Vagrant Simplified
- Bluetooth Hacks
- System Status as SMS Text Messages
- Libreboot on an X60, Part I: the Setup
- October 2015 Issue of Linux Journal: Raspberry Pi