This Rack OAuth 2.0 Server.
2.2.2 came out earlier this week, a minor maintenance release. From the changelog:
1 2 3 4 5 6 | Fix for unknown [] for NilClass when database not setup (epinault-ttc) Warn people when they forgot to set Server.database or set it to Mongo::Connection instead of Mongo::DB. Fixes the strict url scheme issue (Martin Wawrusch). |
2.3.0 followed suit, also a minor maintenance release, except if you ever hoped to use two different databases for OAuth in the same app instance. Well, you’re hops have been dashed. It’s a crazy requirement that will only be supported in the Enterprise Pro Team Edition.
Everyone else, if you have two different apps with two different authentication realms that need two different databases, I suggest you run two separate app instances (or more, as your scaling needs dictate). It’s the UN*X way. You can thank me later.
Again, quoting the changelog:
1 2 3 | Setting oauth.database = in configuration block now works as you would expect it to. As a side note, this is now a global setting (i.e. shared by all handlers). |