public
Description: A merb 1.x app that's an openid provider, based on the rails example in ruby-openid
Homepage: http://github.com/atmos/flatirons/
Clone URL: git://github.com/atmos/flatirons.git
flatirons / README
100644 47 lines (37 sloc) 1.262 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 'atmoose@atmos.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