{"id":639,"name":null,"description":"A generic OAuth strategy for OmniAuth.","url":"https://github.com/omniauth/omniauth-oauth","last_synced_at":"2026-05-01T01:30:20.516Z","repository":{"id":54798313,"uuid":"2439113","full_name":"omniauth/omniauth-oauth","owner":"omniauth","description":"A generic OAuth strategy for OmniAuth.","archived":false,"fork":false,"pushed_at":"2024-08-27T16:23:06.000Z","size":40,"stargazers_count":78,"open_issues_count":1,"forks_count":44,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-04-18T17:03:03.593Z","etag":null,"topics":[],"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/omniauth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-09-22T18:28:56.000Z","updated_at":"2026-01-21T01:15:00.000Z","dependencies_parsed_at":"2024-11-06T17:45:40.733Z","dependency_job_id":null,"html_url":"https://github.com/omniauth/omniauth-oauth","commit_stats":{"total_commits":41,"total_committers":12,"mean_commits":"3.4166666666666665","dds":0.6341463414634146,"last_synced_commit":"afa3f8103c7da12f1bb33941f823107a2d686540"},"previous_names":["intridea/omniauth-oauth"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/omniauth/omniauth-oauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omniauth","download_url":"https://codeload.github.com/omniauth/omniauth-oauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32200159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T20:19:26.138Z","status":"ssl_error","status_checked_at":"2026-04-23T20:19:23.520Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"}},"owner":{"login":"omniauth","name":"OmniAuth Community","uuid":"17064356","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/17064356?v=4","repositories_count":21,"last_synced_at":"2024-03-25T19:32:34.895Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/omniauth","funding_links":[],"total_stars":10129,"followers":20,"following":0,"created_at":"2022-11-02T16:17:23.557Z","updated_at":"2024-03-25T19:32:48.674Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omniauth","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omniauth/repositories"},"packages":[],"commits":{"id":905034,"full_name":"omniauth/omniauth-oauth","default_branch":"master","total_commits":41,"total_committers":12,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":3.4166666666666665,"dds":0.6341463414634146,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-04-29T07:06:15.876Z","last_synced_commit":"afa3f8103c7da12f1bb33941f823107a2d686540","created_at":"2023-03-09T22:51:31.604Z","updated_at":"2026-04-29T07:05:36.171Z","committers":[{"name":"Erik Michaels-Ober","email":"sferik@gmail.com","login":"sferik","count":15},{"name":"Michael Bleigh","email":"michael@intridea.com","login":null,"count":14},{"name":"Vladimir Kitaev","email":"vkitaev@freeconferencecall.com","login":"Meat-Chopper","count":2},{"name":"Mark Dodwell","email":"mark@mkdynamic.co.uk","login":"mkdynamic","count":2},{"name":"Shinichi Maeshima","email":"netwillnet@gmail.com","login":"willnet","count":1},{"name":"Jordi Massaguer Pla","email":"jmassaguerpla@suse.de","login":"jordimassaguerpla","count":1},{"name":"Javier Diez Flaquer","email":"jdiezf@gmail.com","login":"jdiezf","count":1},{"name":"Jamie Wilkinson","email":"jamie@jamiedubs.com","login":"jamiew","count":1},{"name":"Daniel Doubrovkine (dB.) @dblockdotorg","email":"dblock@dblock.org","login":"dblock","count":1},{"name":"Bobby McDonald","email":"bobbymcwho@gmail.com","login":"BobbyMcWho","count":1},{"name":"Adif Sgaid","email":"69080239+adifsgaid","login":"adifsgaid","count":1},{"name":"Christopher Slade","email":"crslade@gmail.com","login":null,"count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-30T00:00:07.427Z","repositories_count":6223374,"commits_count":899976217,"contributors_count":34898904,"owners_count":1147624,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"omniauth/omniauth-oauth","html_url":"https://github.com/omniauth/omniauth-oauth","last_synced_at":"2026-04-28T00:00:53.316Z","status":"error","issues_count":5,"pull_requests_count":20,"avg_time_to_close_issue":185478083.0,"avg_time_to_close_pull_request":107785159.10526316,"issues_closed_count":5,"pull_requests_closed_count":19,"pull_request_authors_count":18,"issue_authors_count":5,"avg_comments_per_issue":3.4,"avg_comments_per_pull_request":1.25,"merged_pull_requests_count":10,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":2792987.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"created_at":"2023-05-12T14:39:06.129Z","updated_at":"2026-04-28T00:00:53.316Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-oauth/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":5},"pull_request_author_associations_count":{"NONE":14,"CONTRIBUTOR":13},"issue_authors":{"richseviora":1,"arunagw":1,"scottwater":1,"pravi":1,"efleming":1},"pull_request_authors":{"mkdynamic":4,"mrichie":2,"adifsgaid":2,"willnet":2,"andrew":2,"JamesChevalier":2,"jdiezf":1,"nevir":1,"Meat-Chopper":1,"jordimassaguerpla":1,"colmarius":1,"dblock":1,"jamiew":1,"sferik":1,"crslade":1,"clifff":1,"gorsuch":1,"jingkaihe":1,"mrkcor":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-29T00:00:10.439Z","repositories_count":14445154,"issues_count":34208297,"pull_requests_count":112308498,"authors_count":11248670,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"ForkEvent":1,"WatchEvent":3},"last_year":{"WatchEvent":1}},"keywords":[],"dependencies":[{"ecosystem":"rubygems","filepath":"Gemfile","sha":null,"kind":"manifest","created_at":"2022-08-14T03:10:43.457Z","updated_at":"2022-08-14T03:10:43.457Z","repository_link":"https://github.com/omniauth/omniauth-oauth/blob/master/Gemfile","dependencies":[{"id":1501791908,"package_name":"rake","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"runtime","optional":false},{"id":1501791917,"package_name":"rack-test","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"development","optional":false},{"id":1501791919,"package_name":"rspec","ecosystem":"rubygems","requirements":"~\u003e 3.2","direct":true,"kind":"development","optional":false},{"id":1501791922,"package_name":"rubocop","ecosystem":"rubygems","requirements":"\u003e= 0.30","direct":true,"kind":"development","optional":false},{"id":1501791925,"package_name":"simplecov","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"development","optional":false},{"id":1501791926,"package_name":"webmock","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"development","optional":false}]},{"ecosystem":"rubygems","filepath":"omniauth-oauth.gemspec","sha":null,"kind":"manifest","created_at":"2022-08-14T03:10:43.558Z","updated_at":"2022-08-14T03:10:43.558Z","repository_link":"https://github.com/omniauth/omniauth-oauth/blob/master/omniauth-oauth.gemspec","dependencies":[{"id":1501792377,"package_name":"omniauth","ecosystem":"rubygems","requirements":"\u003e= 1.0, \u003c 3","direct":true,"kind":"runtime","optional":false},{"id":1501792378,"package_name":"oauth","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/ci.yml","sha":null,"kind":"manifest","created_at":"2024-11-06T17:45:40.566Z","updated_at":"2024-11-06T17:45:40.566Z","repository_link":"https://github.com/omniauth/omniauth-oauth/blob/master/.github/workflows/ci.yml","dependencies":[{"id":20596293624,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":20596293625,"package_name":"ruby/setup-ruby","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false}]}],"score":6.854354502255022,"created_at":"2024-12-15T21:38:08.596Z","updated_at":"2026-05-01T01:30:20.517Z","avatar_url":"https://github.com/omniauth.png","language":"Ruby","monthly_downloads":0,"readme":"# OmniAuth OAuth\n\nThis gem contains a generic OAuth strategy for OmniAuth. It is meant to\nserve as a building block strategy for other strategies and not to be\nused independently (since it has no inherent way to gather uid and user\ninfo).\n\n## Creating an OAuth Strategy\n\nTo create an OmniAuth OAuth strategy using this gem, you can simply\nsubclass it and add a few extra methods like so:\n\n```ruby\nrequire 'json'\nrequire 'omniauth-oauth'\n\nmodule OmniAuth\n  module Strategies\n    class SomeSite \u003c OmniAuth::Strategies::OAuth\n      # Give your strategy a name.\n      option :name, \"some_site\"\n\n      # This is where you pass the options you would pass when\n      # initializing your consumer from the OAuth gem.\n      option :client_options, {:site =\u003e \"https://api.somesite.com\"}\n\n      # These are called after authentication has succeeded. If\n      # possible, you should try to set the UID without making\n      # additional calls (if the user id is returned with the token\n      # or as a URI parameter). This may not be possible with all\n      # providers.\n      uid{ request.params['user_id'] }\n\n      info do\n        {\n          :name =\u003e raw_info['name'],\n          :location =\u003e raw_info['city']\n        }\n      end\n\n      extra do\n        {\n          'raw_info' =\u003e raw_info\n        }\n      end\n\n      def raw_info\n        @raw_info ||= JSON.load(access_token.get('/me.json').body)\n      end\n    end\n  end\nend\n```\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["omniauth","oauth2","omniauth-strategy","rubygems","hash-extensions","activejob","activerecord","mvc","rack","devise"],"project_url":"https://ruby.ecosyste.ms/api/v1/projects/639","html_url":"https://ruby.ecosyste.ms/projects/639"}