mongoid-openid-store

An OpenID Store that uses Mongoid. This was completely taken from Alex Young’s post here: alexyoung.org/2010/09/28/openid-japan/ so full credits go to him. We just thought it deserved a repository so fixes could be put against one place.

Installing

Add to your Gemfile:

gem 'mongoid-openid-store'

Then bundle install.

Usage

In your initializer, replace your instance of FileStore with an instance of MongoidStore.

use OmniAuth::Builder do
  provider :open_id, :store => OpenID::Store::MongoidStore.new
end

Contributing to mongoid-openid-store

Copyright © 2012 Attachments.me. See LICENSE.txt for further details.