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. We use a different datamapper backend but it should be a decent start for most people.
An OpenID based Single Sign On server that provides:
- a whitelist for consumers
- integration with the big ruby frameworks(rails,merb,sinatra)
- sreg parameters to consumers(first name, last name, email, identity_url)
This handshake seems kind of complex but it only happens when you need to validate a user session on the consumer.
% gem sources
*** CURRENT SOURCES ***
http://gems.rubyforge.org/
http://gems.engineyard.com
http://gems.github.com
You need a few gems to function
% sudo gem install dm-core do_sqlite3
% sudo gem install sinatra guid rspec ruby-openid
You need a few more to test, including sr's fork of webrat % sudo gem install selenium-client rspec % git clone git://github.com/sr/webrat.git % cd webrat % git checkout -b sinatra origin/sinatra % rake repackage % sudo gem uninstall -aI webrat % sudo gem install pkg/webrat-0.4.2.gem