I'm playing around with a few projects to learn MongoDB, and one of the things I'm looking to add is an authentication mechanism to a website.
When using a traditional RDBMS, you can find a plethora of libraries for automating a lot of the intricacies of authentication, is there something out there for MongoDB?
I'm either looking for:
a) something that is simple and works out of the box with MongoDB, or b) something that is simple enough that I can just throw passwords at it and get a sane hash out of it.
Is there anything like that out there?
NOTE: I'm not talking about the built-in MongoDB authentication. I mean I want to build an authentication layer in a website that uses MongoDB as a data store. If all else fails, I can do the heavy lifting so long as I have something that's good about abstracting the salting/hashing so I don't have to worry about getting it right.