{"id":13777082,"url":"https://github.com/eddanger/sinatra-oauth-provider","last_synced_at":"2025-05-11T10:31:33.750Z","repository":{"id":488540,"uuid":"114680","full_name":"eddanger/sinatra-oauth-provider","owner":"eddanger","description":"An experiment in creating an OAuth provider with Sinatra","archived":false,"fork":false,"pushed_at":"2009-01-29T23:20:31.000Z","size":103,"stargazers_count":56,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-15T13:55:43.793Z","etag":null,"topics":["oauth-consumer","oauth-provider","ruby","sinatra"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddanger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-01-26T02:17:12.000Z","updated_at":"2020-05-07T04:27:18.000Z","dependencies_parsed_at":"2022-07-14T14:31:25.529Z","dependency_job_id":null,"html_url":"https://github.com/eddanger/sinatra-oauth-provider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddanger%2Fsinatra-oauth-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddanger%2Fsinatra-oauth-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddanger%2Fsinatra-oauth-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddanger%2Fsinatra-oauth-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddanger","download_url":"https://codeload.github.com/eddanger/sinatra-oauth-provider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253551815,"owners_count":21926368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oauth-consumer","oauth-provider","ruby","sinatra"],"created_at":"2024-08-03T18:00:37.370Z","updated_at":"2025-05-11T10:31:32.369Z","avatar_url":"https://github.com/eddanger.png","language":"Ruby","funding_links":[],"categories":["Authentication"],"sub_categories":[],"readme":"Sinatra Rack Middleware OAuth Provider\n===\n\nAn experiment in creating a Sinatra OAuth Provider as Rack Middleware, a simple OAuth Consumer and API wrapper to tie it all together.\n\nThe Rack Middleware takes a simple hash of OAuth protected paths (represented by regular expressions) and associated request methods.\n\n# To run the provider:\n\truby provider.rb\nGo to http://localhost:4567/\n\n# To run the consumer:\n\truby consumer.rb -p 5678\nGo to http://localhost:5678/\n\t\n# Requirements and Installation\n\n**Sinatra: http://sinatra.github.com/**\n\n\tsudo gem install sinatra\n\n**Datamapper: http://datamapper.org/**\n\n\tsudo gem install datamapper\n\tsudo gem install do_sqlite3\n\n**OAuth for Ruby: http://github.com/pelle/oauth**\n\n\tsudo gem install oauth\n\n**OAuth Provider for Ruby: http://github.com/halorgium/oauth_provider**\n\nSince there is no gem yet you will need to do the following:\n\tcd lib\n\tgit clone git://github.com/halorgium/oauth_provider.git\n\nThanks 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!\n\nEnjoy!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddanger%2Fsinatra-oauth-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddanger%2Fsinatra-oauth-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddanger%2Fsinatra-oauth-provider/lists"}