{"id":18070728,"url":"https://github.com/mashirozx/omniauth-gitee","last_synced_at":"2026-05-01T13:32:08.498Z","repository":{"id":43637371,"uuid":"511401700","full_name":"mashirozx/omniauth-gitee","owner":"mashirozx","description":"码云 OmniAuth 策略。","archived":false,"fork":false,"pushed_at":"2022-07-07T15:36:29.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-31T00:14:21.124Z","etag":null,"topics":["gem","gitee","omniauth","omniauth-oauth2","omniauth-strategy","rails"],"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/mashirozx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-07T05:57:39.000Z","updated_at":"2022-07-07T11:17:21.000Z","dependencies_parsed_at":"2022-09-26T21:02:10.823Z","dependency_job_id":null,"html_url":"https://github.com/mashirozx/omniauth-gitee","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mashirozx/omniauth-gitee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mashirozx%2Fomniauth-gitee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mashirozx%2Fomniauth-gitee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mashirozx%2Fomniauth-gitee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mashirozx%2Fomniauth-gitee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mashirozx","download_url":"https://codeload.github.com/mashirozx/omniauth-gitee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mashirozx%2Fomniauth-gitee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"}},"keywords":["gem","gitee","omniauth","omniauth-oauth2","omniauth-strategy","rails"],"created_at":"2024-10-31T08:42:58.492Z","updated_at":"2026-05-01T13:32:08.453Z","avatar_url":"https://github.com/mashirozx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Ruby](https://github.com/mashirozx/omniauth-gitee/workflows/Ruby/badge.svg?branch=master)\n\n# OmniAuth Gitee (码云)\n\n码云 OmniAuth 策略。\n\nThis is the OmniAuth strategy for authenticating to Gitee. To\nuse it, you'll need to sign up for an OAuth2 Application ID and Secret\non the [Gitee Applications Page](https://gitee.com/oauth/applications).\n\nForked and modified from [omniauth-github](https://github.com/omniauth/omniauth-github)\n\n## Installation\n\n```ruby\ngem 'omniauth-gitee', github: 'mashirozx/omniauth-gitee', branch: 'master'\n# or\ngem 'omniauth-gitee', '~\u003e 1.0.0'\n```\n\n## Basic Usage\n\n```ruby\nuse OmniAuth::Builder do\n  provider :gitee, ENV['GITEE_KEY'], ENV['GITEE_SECRET']\nend\n```\n\n\n## Basic Usage Rails\n\nIn `config/initializers/gitee.rb`\n\n```ruby\n  Rails.application.config.middleware.use OmniAuth::Builder do\n    provider :gitee, ENV['GITEE_KEY'], ENV['GITEE_SECRET']\n  end\n```\n\n## Scopes\n\nGitee API v5 lets you set scopes to provide granular access to different types of data: \n\n```ruby\nuse OmniAuth::Builder do\n  provider :gitee, ENV['GITEE_KEY'], ENV['GITEE_SECRET'], scope: \"user_info emails\"\nend\n```\n\nMore info on [docs](https://gitee.com/api/v5/oauth_doc#/).\n\n\n## Semver\nThis project adheres to Semantic Versioning 1.0.0. Any violations of this scheme are considered to be bugs. \nAll changes will be tracked [here](https://github.com/mashirozx/omniauth-gitee/releases).\n\n## License\n\nCopyright (c) 2022 Mashiro (github.com/mashirozx)  \nCopyright (c) 2011 Michael Bleigh and Intridea, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmashirozx%2Fomniauth-gitee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmashirozx%2Fomniauth-gitee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmashirozx%2Fomniauth-gitee/lists"}