A reference design for enabling a ruby app to authenticate with an OAuth2 server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
models
views
.gitignore
README.md
app.rb
oauth2_client.rb

README.md

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.