{"id":19312107,"url":"https://github.com/bigcommerce/omniauth-bigcommerce","last_synced_at":"2025-05-08T00:32:46.430Z","repository":{"id":10439434,"uuid":"12605318","full_name":"bigcommerce/omniauth-bigcommerce","owner":"bigcommerce","description":"OmniAuth Bigcommerce Strategy","archived":false,"fork":false,"pushed_at":"2024-03-27T17:23:09.000Z","size":45,"stargazers_count":15,"open_issues_count":4,"forks_count":28,"subscribers_count":43,"default_branch":"master","last_synced_at":"2024-11-10T00:33:35.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developer.bigcommerce.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"knsv/mermaid","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigcommerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-05T00:27:06.000Z","updated_at":"2024-05-07T07:32:09.000Z","dependencies_parsed_at":"2024-03-27T18:35:42.900Z","dependency_job_id":"f7a09477-e9ad-4b1f-9ed1-3d9d7152a145","html_url":"https://github.com/bigcommerce/omniauth-bigcommerce","commit_stats":{"total_commits":37,"total_committers":9,"mean_commits":4.111111111111111,"dds":0.7297297297297297,"last_synced_commit":"d45f1998c950c15203e499def25d8241bdbe4603"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fomniauth-bigcommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fomniauth-bigcommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fomniauth-bigcommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fomniauth-bigcommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigcommerce","download_url":"https://codeload.github.com/bigcommerce/omniauth-bigcommerce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225106472,"owners_count":17421804,"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-11-10T00:32:53.929Z","updated_at":"2024-11-18T00:06:21.969Z","avatar_url":"https://github.com/bigcommerce.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OmniAuth Bigcommerce Strategy\n[![Build Status](https://travis-ci.org/bigcommerce/omniauth-bigcommerce.png?branch=master)](https://travis-ci.org/bigcommerce/omniauth-bigcommerce)\n\nThis gem provides a simple way to authenticate to Bigcommerce using OmniAuth.\n\n## Installation\n\nAdd to your application's Gemfile:\n\n```\ngem 'omniauth-bigcommerce'\n```\n\n## Usage\n\nFirst, you will need to [register an application](https://developer.bigcommerce.com).\n\nCreate a `config/initializers/omniauth.rb` initializer:\n```\nuse OmniAuth::Builder do\n  provider :bigcommerce, ENV['BC_CLIENT_ID'], ENV['BC_CLIENT_SECRET'], 'users_basic_information store_v2_settings store_v2_orders'\nend\n```\n\nYou may also overwrite default config options:\n```\nRails.application.config.middleware.use OmniAuth::Builder do\n  provider :bigcommerce, ENV['BC_CLIENT_ID'], ENV['BC_CLIENT_SECRET'],\n           {\n             scope: \"users_basic_information store_v2_products store_v2_information\",\n             client_options: {\n               site: 'https://login.bigcommerce.com'\n             }\n           }\nend\n```\nSee the [Omniauth Wiki](https://github.com/intridea/omniauth/wiki) for more information.\n\n## Environment Variables\nThe gem will look for the bigcommerce oauth provider URL in the `BC_AUTH_SERVICE` environment variable.\nIt defaults to https://login.bigcommerce.com if the env variable is not defined.\n\n## Auth Hash Schema\n\nThe following response format is provided back to you for this provider:\n\n```\n{\n  uid: '12345',\n  info: {\n    name: 'John Doe',\n    email: 'john.doe@example.com'\n  },\n  credentials: {\n    token: 'xyz123abc'\n  },\n  extra: {\n    raw_info: {},\n    scopes: 'requested_scopes store_v2_settings'\n    context: 'store/xyz123',\n    account_uuid: 'fooBar'\n  }\n}\n```\n\n## Contributing\n\nFork \u0026 submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fomniauth-bigcommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigcommerce%2Fomniauth-bigcommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fomniauth-bigcommerce/lists"}