Doorkeeper is a Ruby gem that makes it easy to introduce OAuth 2 provider functionality to a Rails or Grape application. WWW: https://github.com/doorkeeper-gem/doorkeeper