A sample implementation of OAuth 2.0 server in Ruby using Authlete.