An add-on for Kete (kete.net.nz) that replaces normal login with a browserid based login.
Kete 1.4 or using the master branch.
Uses the gem Faraday to make requests to browserid.org.
You'll want to check to make sure that all your users have unique email addresses first:
script/console # specify production if necessary
If this method returns true, you'll need to look at your user emails and come up with plan to change them. This gem puts a “validates_uniqueness” on email once it is in place. Actually if you have legacy users, you'll want to come up with a plan to move them to BrowserID logins anyway.
Note on Patches/Pull Requests
Fork the project.
Make your feature addition or bug fix in a corresponding branch (even better, make an issue first and name the branch with the ticket number in it)
Add tests for it. This is important so I don't break it in a future version unintentionally.
Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
Send me a pull request.
This work was funded by Aotearoa New Zealand Association of Social Workers (ANZASW).
Copyright © 2012 Horowhenua Library Trust. See LICENSE for details.