It's like your John Hancock for all of your company's apps.
A lot of this is extracted from our internal single sign on server at Engine Yard. You can easily add this middleware to authenticate your users with existing models.
- a single source for user authentication using openid
- integration with ruby frameworks via rack.
This handshake seems kind of complex but it only happens when you need to validate a user session on the consumer.
You need the Bundler to function.
% gem install bundler % bundle install % bundle exec rake
Ideally you just drop the middleware into your existing application.