Doorkeeper is an OAuth 2 provider for Rails.