Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-hand/choerodon-oauth
This service is the authorized authentication center of the choerodon microservices framework and is mainly responsible for user privilege and authorization.
https://github.com/open-hand/choerodon-oauth
c7nf choerodon java oauth2 spring spring-boot spring-cloud spring-oauth2
Last synced: about 1 month ago
JSON representation
This service is the authorized authentication center of the choerodon microservices framework and is mainly responsible for user privilege and authorization.
- Host: GitHub
- URL: https://github.com/open-hand/choerodon-oauth
- Owner: open-hand
- Created: 2018-05-19T05:12:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-15T03:25:19.000Z (over 1 year ago)
- Last Synced: 2023-06-15T04:25:17.536Z (over 1 year ago)
- Topics: c7nf, choerodon, java, oauth2, spring, spring-boot, spring-cloud, spring-oauth2
- Language: Java
- Homepage: http://choerodon.io
- Size: 3.56 MB
- Stars: 20
- Watchers: 6
- Forks: 42
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.zh-CN.md
Awesome Lists containing this project
README
# choerodon-oauth
统一身份认证## Introduction
这个服务是猪齿鱼微服务框架的权限认证中心,它主要保证用户权限与用户认证。此服务是对[hzero-oauth](https://github.com/open-hand/hzero-oauth.git)的二开,定制化了统一登录界面与找回密码功能。## Features
- 统一登录界面
- 账户、手机、邮箱登录
- 短信登录
- 第三方登录
- 完整的OAuth2协议实现
- 密码找回功能
- Token 管理功能
- 基于Ldap的用户认证## Architecture
![](http://file.open.hand-china.com/hsop-doc/doc_classify/0/7af865a0de5f4ad2847ad69018ede20e/image.png)
## 功能介绍
1. 用户登录认证:
- 用户使用用户名与密码完成oauth认证。
- Oauth将会基于用户与已认证的客户端生成一个`access_token`,并将其存放在`tokenStore`中。
2. 用户访问资源服务认证:
- 用户请求中带有`access_token`。在oauth完成检验后,请求会由网关转发到相应的资源服务
- 对于给用户的非法请求,返回一个401状态码并且跳转到登录页面等待重新认证。## Documentation
- 更多详情请参考`hzero-oauth`[中文文档](http://open.hand-china.com/document-center/doc/application/10033/10154?doc_id=4843)## Dependencies
* 服务依赖
```xml
org.hzero
hzero-oauth
${hzero.service.version}```
## Changelog
- [更新日志](./CHANGELOG.zh-CN.md)
## Contributing
欢迎参与项目贡献!比如提交PR修复一个bug,或者新建Issue讨论新特性或者变更。
Copyright (c) 2020-present, HZERO