All Projects → caiya → eggjs-oAuth2-server

caiya / eggjs-oAuth2-server

Licence: other
基于eggjs的oAuth2.0授权服务端,包含完整流程实例

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to eggjs-oAuth2-server

Node Background Management System
eggjs实现一个较为完整的后台管理系统
Stars: ✭ 96 (-18.64%)
Mutual labels:  eggjs
Vue Shopping
vue电商 基于Vue2.5+Koa2+Mongodb+Vant的移动电商webapp
Stars: ✭ 148 (+25.42%)
Mutual labels:  eggjs
sf-midway-admin
🚀 基于MidwayJs + TypeScript + TypeORM + Redis + MySql + Vue2 + Element-UI编写的一款简单高效的前后端分离的权限管理系统
Stars: ✭ 93 (-21.19%)
Mutual labels:  eggjs
Blog
天猪部落阁 http://atian25.github.io
Stars: ✭ 1,527 (+1194.07%)
Mutual labels:  eggjs
Vscode Eggjs
vscode extension for https://eggjs.org/
Stars: ✭ 141 (+19.49%)
Mutual labels:  eggjs
Egg Oauth2 Server
🌟 OAuth2 server plugin for egg.js based on node-oauth2-server
Stars: ✭ 174 (+47.46%)
Mutual labels:  eggjs
Egg Sofa Rpc
SOFARPC plugin for egg
Stars: ✭ 71 (-39.83%)
Mutual labels:  eggjs
egg-sentry
Sentry Plugin For Egg.js
Stars: ✭ 18 (-84.75%)
Mutual labels:  eggjs
Sofa Bolt Node
The Node.js implementation of the SOFABolt protocol
Stars: ✭ 142 (+20.34%)
Mutual labels:  eggjs
ves
Vue SSR(Server Side Render) Web Framework for Egg
Stars: ✭ 23 (-80.51%)
Mutual labels:  eggjs
Egg Router Plus
The missing router feature for eggjs
Stars: ✭ 117 (-0.85%)
Mutual labels:  eggjs
Egg React Ssr
最小而美的Egg + React + SSR 服务端渲染应用骨架,同时支持JS和TS
Stars: ✭ 1,837 (+1456.78%)
Mutual labels:  eggjs
Cool Admin Api
cool-admin-api 是基于egg.js、typeorm、jwt等封装的api开发脚手架、快速开发api接口
Stars: ✭ 188 (+59.32%)
Mutual labels:  eggjs
Vuejs Admin Server
vuejs-admin项目服务端部分
Stars: ✭ 110 (-6.78%)
Mutual labels:  eggjs
egg-react-mobx-ts-antd
Start node with eggjs, react, mobx-react, typescript and ant design.
Stars: ✭ 34 (-71.19%)
Mutual labels:  eggjs
Awesome Coding Javascript
📌 持续构建个人的源码库(JavaScript 原生、常用库、数据结构、算法)
Stars: ✭ 88 (-25.42%)
Mutual labels:  eggjs
Egg Mp
EggJS插件:微信公众平台基本服务
Stars: ✭ 153 (+29.66%)
Mutual labels:  eggjs
react-ant-admin-api
专为 react-ant-admin 开发的后端API,完善的权限路由系统,使用 eggjs、ts、mysql开发
Stars: ✭ 52 (-55.93%)
Mutual labels:  eggjs
egg-rbac
Role Based Access Control for eggjs
Stars: ✭ 32 (-72.88%)
Mutual labels:  eggjs
egg-view-assets
Manage frontend assets in development and production.
Stars: ✭ 51 (-56.78%)
Mutual labels:  eggjs

oAuthCenter

nodejs OAuth authorization server implements based on eggjs

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

测试图片

下面是code模板测试的完整流程:

然后是点击登录按钮进行跳转:

注意:跳转过去携带了client_id等信息,然后是oAuth登录授权:

最后是授权成功,回跳回来子系统指定的回调地址:

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].