This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
so /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Apr 12 21:19:04 -0700 2008 | [jcrosby] |
| |
README | Mon Apr 28 23:37:38 -0700 2008 | [jcrosby] |
| |
Rakefile | Sat Apr 12 21:19:04 -0700 2008 | [jcrosby] |
| |
app.rb | Sat Apr 12 21:19:04 -0700 2008 | [jcrosby] |
| |
config.ru | Sat Apr 12 21:19:04 -0700 2008 | [jcrosby] |
| |
db/ | Sat Apr 12 21:19:04 -0700 2008 | [jcrosby] |
| |
lib/ | Sat Apr 12 21:25:09 -0700 2008 | [jcrosby] |
| |
test/ | Tue Apr 08 08:06:01 -0700 2008 | [jcrosby] |
| |
views/ | Sat Apr 12 21:19:04 -0700 2008 | [jcrosby] |
README
So (Sinatra + OpenID + OAuth) is a work in progress. UPDATE: An improved version of the project is now maintained as part of CloudKit and can be generated with one line. See the CloudKit README for details. MIT licensed by Jon Crosby. This project includes an addition to the OAuth gem that adds Rack compatibility, a port of the Rails OpenIdAuthentication plugin, and a port of the OAuth Rails plugin. To run: 1) mysqladmin -uroot create so_development 2) rake db:migrate 3) rake start To sign up or login with your OpenID: http://localhost:3000/sessions/new (Signing up and logging in are essentially the same thing.) To add OAuth clients: http://localhost:3000/oauth_clients To test an OAuth client, use the echo service, passing in any arbitrary parameters: http://localhost:3000/oauth/echo TODO: * Finish porting the tests to test/spec, using the new test helpers in Sinatra. * Adjust the Callback URL handling so that it is optional. * Implement the 'revoke' action for authorized clients. * Roll this into the CloudKit generator.




