All Projects → jiangeeq → jpsite-security-oauth2-open

jiangeeq / jpsite-security-oauth2-open

Licence: other
微服务开放API授权平台

Programming Languages

java
68154 projects - #9 most used programming language
FreeMarker
481 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to jpsite-security-oauth2-open

Flask Oauthlib
YOU SHOULD USE https://github.com/lepture/authlib
Stars: ✭ 1,429 (+6704.76%)
Mutual labels:  oauth2, oauth2-server
Go Oauth2 Server
A standalone, specification-compliant, OAuth2 server written in Golang.
Stars: ✭ 1,843 (+8676.19%)
Mutual labels:  oauth2, oauth2-server
Django Oauth2 Server
OAuth2 server written in Python with Django
Stars: ✭ 108 (+414.29%)
Mutual labels:  oauth2, oauth2-server
Login Cidadao
Projeto Login Cidadão
Stars: ✭ 61 (+190.48%)
Mutual labels:  oauth2, oauth2-server
Authlib
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Stars: ✭ 2,854 (+13490.48%)
Mutual labels:  oauth2, oauth2-server
Node Oauth2 Server Mongo Example
Working oauth2 server with mongodb storage and minimal configuration
Stars: ✭ 76 (+261.9%)
Mutual labels:  oauth2, oauth2-server
Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Compatible with MITREid.
Stars: ✭ 11,884 (+56490.48%)
Mutual labels:  oauth2, oauth2-server
Web Framework For Java
A seed project with spring boot for AngularJS, AngularJs Material, Thymeleaf, RESTful API, MySQL and admin panel based on AdminLTE.
Stars: ✭ 29 (+38.1%)
Mutual labels:  oauth2, oauth2-server
Egg Oauth2 Server
🌟 OAuth2 server plugin for egg.js based on node-oauth2-server
Stars: ✭ 174 (+728.57%)
Mutual labels:  oauth2, oauth2-server
Oauth2
OAuth 2.0 server library for the Go programming language.
Stars: ✭ 2,173 (+10247.62%)
Mutual labels:  oauth2, oauth2-server
Oauth2 Server
OAuth2 Server Library
Stars: ✭ 42 (+100%)
Mutual labels:  oauth2, oauth2-server
Light Oauth2
A fast, light and cloud native OAuth 2.0 authorization microservices based on light-4j
Stars: ✭ 247 (+1076.19%)
Mutual labels:  oauth2, oauth2-server
Fake Oauth2 Server
An OAuth2 server implementation to be used for testing
Stars: ✭ 34 (+61.9%)
Mutual labels:  oauth2, oauth2-server
Cierge
🗝️ Passwordless OIDC authentication done right
Stars: ✭ 1,245 (+5828.57%)
Mutual labels:  oauth2, oauth2-server
Oauth2 Shiro Jwt
use oauth2, shiro and spring specrity to make an ums system
Stars: ✭ 29 (+38.1%)
Mutual labels:  oauth2, oauth2-server
Node Oauth2 Server Example
Working oauth2 server with minimal configuration
Stars: ✭ 115 (+447.62%)
Mutual labels:  oauth2, oauth2-server
Example Oauth2 Server
Example for OAuth 2 Server for Authlib.
Stars: ✭ 499 (+2276.19%)
Mutual labels:  oauth2, oauth2-server
Doorkeeper
Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
Stars: ✭ 4,917 (+23314.29%)
Mutual labels:  oauth2, oauth2-server
Doorkeeper Provider App
An example OAuth 2 provider application using the Doorkeeper gem, Rails and Devise
Stars: ✭ 146 (+595.24%)
Mutual labels:  oauth2, oauth2-server
Express Gateway
A microservices API Gateway built on top of Express.js
Stars: ✭ 2,583 (+12200%)
Mutual labels:  oauth2, oauth2-server

jpsite-security-oauth2-open(微服务开放API授权平台)

本项目是一个基于oath2协议的应用,实现的的功能逻辑与QQ互联微博开放平台类似,都是同一套认证授权流程。

项目结构简单易懂,却不偷工减料,在学习完本Demo后,Demo中的项目代码依然可以被各位学习者copy到公司的生产项目中使用,真正达到学以致用的目的。

本演示项目包括功能有

新用户

  1. 用户注册自动分配角色权限
  2. 用户只能访问自己所拥有的角色权限访问路径

开放平台

  1. 用户可以申请获取客户ID和客户密钥
  2. 用户可以通过客户ID获取授权码
  3. 用户可以通过客户ID和密钥以及授权码获取access token 和referrsh token和scope

资源api服务(order-service/open-api-service)

  1. 可自定义配置需拦截授权的url
  2. 可自定义配置受限url的访问scope
  3. 未授权用户或访问权限不足用户,页面提示相信息
  4. 用户通过access token 来访问对应url

关于该项目的更多代码讲解和逻辑讲解,请参考=>微服务开放授权平台设计与实践,或浏览作者主页=>掘金-蒋老湿

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].