{"id":21240055,"url":"https://github.com/open-hand/choerodon-oauth","last_synced_at":"2025-07-10T19:32:50.390Z","repository":{"id":44670186,"uuid":"134031733","full_name":"open-hand/choerodon-oauth","owner":"open-hand","description":"This service is the authorized authentication center of the choerodon microservices framework and is mainly responsible for user privilege and authorization.","archived":false,"fork":false,"pushed_at":"2023-06-15T03:25:19.000Z","size":3688,"stargazers_count":18,"open_issues_count":3,"forks_count":42,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T16:51:09.130Z","etag":null,"topics":["c7nf","choerodon","java","oauth2","spring","spring-boot","spring-cloud","spring-oauth2"],"latest_commit_sha":null,"homepage":"http://choerodon.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-hand.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.zh-CN.md","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":"2018-05-19T05:12:30.000Z","updated_at":"2023-08-28T14:29:46.000Z","dependencies_parsed_at":"2023-01-29T16:16:45.361Z","dependency_job_id":null,"html_url":"https://github.com/open-hand/choerodon-oauth","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/open-hand/choerodon-oauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-hand","download_url":"https://codeload.github.com/open-hand/choerodon-oauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-hand%2Fchoerodon-oauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264639923,"owners_count":23642319,"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":["c7nf","choerodon","java","oauth2","spring","spring-boot","spring-cloud","spring-oauth2"],"created_at":"2024-11-21T00:47:36.527Z","updated_at":"2025-07-10T19:32:50.041Z","avatar_url":"https://github.com/open-hand.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# choerodon-oauth\n统一身份认证\n\n## Introduction\n这个服务是猪齿鱼微服务框架的权限认证中心，它主要保证用户权限与用户认证。此服务是对[hzero-oauth](https://github.com/open-hand/hzero-oauth.git)的二开，定制化了统一登录界面与找回密码功能。\n\n\n## Features\n\n- 统一登录界面\n- 账户、手机、邮箱登录\n- 短信登录\n- 第三方登录\n- 完整的OAuth2协议实现\n- 密码找回功能\n- Token 管理功能\n- 基于Ldap的用户认证\n\n## Architecture\n\n![](http://file.open.hand-china.com/hsop-doc/doc_classify/0/7af865a0de5f4ad2847ad69018ede20e/image.png)\n\n## 功能介绍\n\n1. 用户登录认证：\n    - 用户使用用户名与密码完成oauth认证。\n    - Oauth将会基于用户与已认证的客户端生成一个`access_token`，并将其存放在`tokenStore`中。\n2. 用户访问资源服务认证：\n    - 用户请求中带有`access_token`。在oauth完成检验后，请求会由网关转发到相应的资源服务\n    - 对于给用户的非法请求，返回一个401状态码并且跳转到登录页面等待重新认证。\n\n\n## Documentation\n- 更多详情请参考`hzero-oauth`[中文文档](http://open.hand-china.com/document-center/doc/application/10033/10154?doc_id=4843)\n\n## Dependencies\n\n* 服务依赖\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.hzero\u003c/groupId\u003e\n    \u003cartifactId\u003ehzero-oauth\u003c/artifactId\u003e\n    \u003cversion\u003e${hzero.service.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n## Changelog\n\n- [更新日志](./CHANGELOG.zh-CN.md)\n\n## Contributing\n\n欢迎参与项目贡献！比如提交PR修复一个bug，或者新建Issue讨论新特性或者变更。\n\nCopyright (c) 2020-present, HZERO\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-hand%2Fchoerodon-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-hand%2Fchoerodon-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-hand%2Fchoerodon-oauth/lists"}