but i needed to do it for MongoDB using Mongoid so you can see all of the little changes here that i had to make to get it to work https://github.com/ndgiang84/oauth-sample
Ryan, you just read my mind! I've been looking for a good resource on best practice for this so having you create a post like this is a real treat since there's not much info for best practices.
at my day job, i just created an OAuth 2.0 provider and consumer demo with the help of this tutorial http://unhandledexpression.com/2011/06/02/rails-and-oauth-plugin-part-1-the-provider/ & http://unhandledexpression.com/2011/06/28/rails-and-oauth-plugin-part-2-the-consumer/ and that tutorial is for sqlite or mysql.
but i needed to do it for MongoDB using Mongoid so you can see all of the little changes here that i had to make to get it to work https://github.com/ndgiang84/oauth-sample
Ryan, you just read my mind! I've been looking for a good resource on best practice for this so having you create a post like this is a real treat since there's not much info for best practices.