I'm going to implement a simple REST API wrapper around a service and would like to use Ruby with Sinatra for this task.
The Idea is to have users authenticate / sign requests using two-legged OAuth (2.0).
Should I try to use an authentication framework like warden and an addtional oauth 2.0 addon (e.g. warden-oauth2) or should I use a rack based solution like rack-oauth2-server. The rack based approach seems to rely on MongoDB which is ok, but I'd rather minimize the dependencies.
Cheers,
Marc
Checkout oauth2-provider. Another popular option is doorkeeper (rails only).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With