{"id":13777057,"url":"https://github.com/atmos/hancock","last_synced_at":"2025-05-11T10:31:34.387Z","repository":{"id":511873,"uuid":"139634","full_name":"atmos/hancock","owner":"atmos","description":"An OpenID Provider with a simple API, written in Sinatra.","archived":true,"fork":false,"pushed_at":"2021-09-27T21:03:37.000Z","size":412,"stargazers_count":11,"open_issues_count":8,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-25T00:49:08.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/atmos/hancock","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/atmos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-02-28T03:29:51.000Z","updated_at":"2024-06-07T13:54:26.000Z","dependencies_parsed_at":"2022-07-07T11:30:36.816Z","dependency_job_id":null,"html_url":"https://github.com/atmos/hancock","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmos%2Fhancock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmos%2Fhancock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmos%2Fhancock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmos%2Fhancock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atmos","download_url":"https://codeload.github.com/atmos/hancock/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":[],"created_at":"2024-08-03T18:00:37.015Z","updated_at":"2025-05-11T10:31:32.881Z","avatar_url":"https://github.com/atmos.png","language":"Ruby","funding_links":[],"categories":["Authentication"],"sub_categories":[],"readme":"hancock\n=======\n\nIt's like your [John Hancock][johnhancock] for all of your company's apps.\n\nA lot of this is extracted from our internal single sign on server at [Engine\nYard][ey].  You can easily add this middleware to authenticate your\nusers with existing models.\n\nFeatures\n========\nAn [OpenID][openid] based [Single Sign On][sso] server that provides:\n\n* a single source for user authentication using openid\n* integration with ruby frameworks via [rack][hancock_examples].\n\nHow it Works\n============\n![SSO Handshake](http://img.skitch.com/20090719-j3f895hp7h9dnkpjwc8ycqg29e.jpg)\n\nThis handshake seems kind of complex but it only happens when you need to\nvalidate a user session on the consumer.\n\nTesting/Developing Locally\n==========================\nYou need the [Bundler][bundler] to function.\n\n    % gem install bundler\n    % bundle install\n    % bundle exec rake\n\nDeployment Setup\n================\n\nIdeally you just drop the middleware into your existing application.\n\nTBD\n\nGuidance\n========\n* http://openid.net/specs/openid-authentication-2_0.html\n* http://wiki.openid.net/OpenID_Authentication_2.0\n* http://jystewart.net/process/2007/10/a-ruby-on-rails-openid-server/\n* http://lists.openidenabled.com/pipermail/dev/2007-March/000347.html\n\nFeedback\n========\n* [Github Issues][githubissues]\n\nSponsored By\n============\n* [Engine Yard][ey]\n\n[johnhancock]: http://www.urbandictionary.com/define.php?term=john+hancock\n[ey]: http://www.engineyard.com/\n[sr]: http://github.com/sr\n[atmos]: http://github.com/atmos\n[halorgium]: http://github.com/halorgium\n[adelcambre]: http://github.com/adelcambre\n[srfork]: http://github.com/sr/webrat/tree/sinatra\n[webrat]: http://github.com/brynary/webrat\n[hancock_examples]: http://github.com/atmos/hancock-client/tree/98aae96077a8fbfa0097f33ec3ecd628fc549c54/examples/dragon\n[datamapper]: http://datamapper.org\n[openid]: http://openid.net/\n[sso]: http://en.wikipedia.org/wiki/Single_sign-on\n[whitelist]: http://en.wikipedia.org/wiki/Whitelist\n[oauth]: http://oauth.net/\n[sreg]: http://openid.net/specs/openid-simple-registration-extension-1_0.html#response_format\n[simpledb]: http://aws.amazon.com/simpledb/\n[googlegroup]: http://groups.google.com/group/hancock-users\n[githubissues]: http://github.com/atmos/hancock/issues\n[bundler]: http://gembundler.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmos%2Fhancock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatmos%2Fhancock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmos%2Fhancock/lists"}