14

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

Marc Seeger
  • 2,717
  • 4
  • 28
  • 32

1 Answers1

2

Checkout oauth2-provider. Another popular option is doorkeeper (rails only).

NARKOZ
  • 27,203
  • 7
  • 68
  • 90