An example OAuth 2 provider application using the Doorkeeper gem, Rails and Devise