A few weeks ago I finally reached the point where I decided to release a project I’m working on as open source software. Ladies and gents, I proudly present: masquerade – an OpenID server based on Ruby on Rails.
Up to now it is pretty basic, but already handles stuff like managing various personas, trusting sites and defining release policies for your registration data. The project website contains some documentation and information on how to install your own instance of masquerade, so that you can provide some identity right away…
I installed a demo application which me and some friends are actually using as identity provider – feel free to join us, help testing and give me some feedback. The UI could surely use some sexifying and I’ve already planned to extend the feature set to include things like Attribute Exchange and other improvements. That being said: If you want to join the project contact me, fork the repository on GitHub or submit some patches
For those of you being interested: The project is build heavily around the functionality of the ruby-openid gem and its origin is the server example that ships with the gem. I’ve written a module (OpenidServerSystem) which wraps some of the library specific logic and extends the controllers. The server controller (which is the endpoint for incoming OpenID requests) combined with this module provides the main functionality.

11. April 2008 um 19:58
Peter Grosskopf schreibt:
Coool. Werde ich mir direkt mal näher angucken, wenn die Masterarbeit rum ist. Also 7 Tage noch …
12. April 2008 um 09:02
masone schreibt:
Wow, super! Ich hab jetzt wochenlang ein interessantes PHP Projekt mitverfolgt, das aber irgendwie nie so richtig released werden wollte und jetzt stolper ich über deine Rails Implementation.
Top! Muss ich gleich ausprobieren.
18. April 2008 um 20:37
Skiptree Thoughts » Blog Archive » A few items of note… schreibt:
[...] Check out the rails-based OpenID server: Masquerade [...]
20. April 2008 um 01:31
Infovore » links for 2008-04-19 schreibt:
[...] //dopefreshtightblog » masquerade – Rails-based OpenID Server “masquerade – an OpenID server based on Ruby on Rails.” Server, not client-library. Looks quite nifty, and well worth knowing this is out there. (tags: openid server ruby rails rubyonrails identity development programming) [...]
22. April 2008 um 06:32
links for 2008-04-22 schreibt:
[...] //dopefreshtightblog » masquerade – Rails-based OpenID Server (tags: rubyonrails openid server identity) [...]
24. April 2008 um 13:20
JSG schreibt:
When trying to do this in pgsql, rake db:migrate results to:
== 1 CreateInitialSchema: migrating ===========================================
– create_table(:accounts, {:force=>true})
-> 0.1560s
– add_index(:accounts, :login, {:unique=>true})
-> 0.1870s
– add_index(:accounts, :email, {:unique=>true})
-> 0.0790s
– create_table(:personas)
rake aborted!
RuntimeError: ERROR C42804 Mcolumn “deletable” is of type boolean but defau
lt expression is of type integer HYou will need to rewrite or cast the ex
pression. F.\src\backend\catalog\heap.c L2011 RcookDefault: CREATE TAB
LE personas (“id” serial primary key, “account_id” integer NOT NULL, “title” cha
racter varying(255) NOT NULL, “nickname” character varying(255) DEFAULT NULL, “e
mail” character varying(255) DEFAULT NULL, “fullname” character varying(255) DEF
AULT NULL, “postcode” character varying(255) DEFAULT NULL, “country” character v
arying(255) DEFAULT NULL, “language” character varying(255) DEFAULT NULL, “timez
one” character varying(255) DEFAULT NULL, “gender” character varying(1) DEFAULT
NULL, “dob” date DEFAULT NULL, “deletable” boolean DEFAULT 1 NOT NULL, “created_
at” timestamp DEFAULT NULL, “updated_at” timestamp DEFAULT NULL)
24. April 2008 um 15:42
Dennis schreibt:
Hey JSG, thanks for pointing out this bug – I fixed it and pushed it to github.
25. April 2008 um 08:40
JSG schreibt:
Thanks too
I spotted some minimal issues in the migration script related to the string limit of country (Macedonia has more than 40 characters) and language code (some chinese codes use 5 characters) so changes for that should be made and everything should migrate properly and run as expected. Thanks again!
5. Mai 2008 um 13:31
links for 2008-05-05 « Breyten’s Dev Blog schreibt:
[...] masquerade – Rails-based OpenID Server (tags: off-topic identity provider masquerade open source openid ruby on rails) [...]
15. Juni 2008 um 06:31
a work on process » links for 2008-06-15 schreibt:
[...] Masquerade Rails OpenID Server My post on building an open id server in rails still gets a lot of traffic, but I’ve not been able to keep the code as up to date as I’d like. I’ve not tried this option yet, but it seems worth a look (tags: openid rubyonrails server) [...]