Skip to content

Commit 4a02055

Browse files
author
Michael Wood
committed
Updated readme.
1 parent 4bb95ac commit 4a02055

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
Sinatra OAuth Provider
1+
Sinatra Rack Middleware OAuth Provider
22
===
33

4-
An experiment in creating a Sinatra OAuth Provider, Consumer and API wrapper.
4+
An experiment in creating a Sinatra OAuth Provider as Rack Middleware, a simple OAuth Consumer and API wrapper to tie it all together.
5+
6+
The Rack Middleware takes a simple hash of OAuth protected paths (represented by regular expressions) and associated request methods.
57

68
# To run the provider:
79
ruby provider.rb
@@ -20,6 +22,7 @@ Go to http://localhost:5678/
2022
**Datamapper: http://datamapper.org/**
2123

2224
sudo gem install datamapper
25+
sudo gem install do_sqlite3
2326

2427
**OAuth for Ruby: http://github.com/pelle/oauth**
2528

@@ -28,8 +31,8 @@ Go to http://localhost:5678/
2831
**OAuth Provider for Ruby: http://github.com/halorgium/oauth_provider**
2932

3033
Since there is no gem yet you will need to do the following:
31-
cd lib
32-
git clone git://github.com/halorgium/oauth_provider.git
34+
cd lib
35+
git clone git://github.com/halorgium/oauth_provider.git
3336

3437
Thanks to pelle, halorgium (for the auth_provider), and singpolyma (for the simple Sinatra example)! And to the Vancouver "Ruby in the Rain" event for opening my eyes to Sinatra. You guys rock!
3538

0 commit comments

Comments
 (0)