Giter Club home page Giter Club logo

choerodon-oauth's Introduction

choerodon-oauth

统一身份认证

Introduction

这个服务是猪齿鱼微服务框架的权限认证中心,它主要保证用户权限与用户认证。此服务是对hzero-oauth的二开,定制化了统一登录界面与找回密码功能。

Features

  • 统一登录界面
  • 账户、手机、邮箱登录
  • 短信登录
  • 第三方登录
  • 完整的OAuth2协议实现
  • 密码找回功能
  • Token 管理功能
  • 基于Ldap的用户认证

Architecture

功能介绍

  1. 用户登录认证:
    • 用户使用用户名与密码完成oauth认证。
    • Oauth将会基于用户与已认证的客户端生成一个access_token,并将其存放在tokenStore中。
  2. 用户访问资源服务认证:
    • 用户请求中带有access_token。在oauth完成检验后,请求会由网关转发到相应的资源服务
    • 对于给用户的非法请求,返回一个401状态码并且跳转到登录页面等待重新认证。

Documentation

Dependencies

  • 服务依赖
<dependency>
    <groupId>org.hzero</groupId>
    <artifactId>hzero-oauth</artifactId>
    <version>${hzero.service.version}</version>
</dependency>

Changelog

Contributing

欢迎参与项目贡献!比如提交PR修复一个bug,或者新建Issue讨论新特性或者变更。

Copyright (c) 2020-present, HZERO

choerodon-oauth's People

Contributors

aimzhangjian avatar devil-scp avatar fangyoga avatar hand-shanyu avatar isaacy-125 avatar timebye avatar wang-ha0 avatar zmfcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

choerodon-oauth's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.