Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A merb 1.x app that's an openid provider, based on the rails example in ruby-openid http://github.com/atmos/flatirons/
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
flatirons --------- This is a little merb app that serves as an openid provider. The rails provider app inside of the ruby-openid gem is dated and has 0 specs. I needed one at work and it seemed best to learn the code by specing as I go. This works w/ merb 1.0.6. Requirements (UNIX) ------------------- % sudo gem install bundler % gem bundle On Localhost ------------ % script/merb -p 4001 To connect to this you're going to need a user, we can't register them yet though. :\ Have your browser redirect to http://localhost:4001/users/:id The development environment has a user 'atmoose' with email 'email@example.com' with password 'foo' it's useful for testing clients A client should hit 'http://localhost:4001/users/atmoose In Staging ---------- Ghetto God Config that uses 'pkill -9 -f merb' in the stop script In Production ------------- Ghetto God Config that uses 'pkill -9 -f merb' in the stop script Diagrams -------- http://flickr.com/photos/atmos/3054931483/ http://www.cl.cam.ac.uk/users/sjm217/misc/openid-protocol.pdf OpenID Tester ------------- http://www.openidenabled.com/resources/openid-test/ Guidance ------------- http://openid.net/specs/openid-authentication-2_0.html http://wiki.openid.net/OpenID_Authentication_2.0