Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 465 Bytes

File metadata and controls

18 lines (11 loc) · 465 Bytes

oauth2-ruby-reference

A reference design for enabling a Ruby app to authenticate with Toodledo's OAuth2 server.

This example requires the OAuth2 gem. It uses the Sinatra web framework for a simple example.

These are the dependencies:

gem install sinatra
gem install oauth2
gem install json

Run the web server with the following command:

ruby app.rb

Visit the local web server to play with the web interface.