Skip to content

zslucky/koa-oauth2-password-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-oauth2-password-server

Build Status

A 'password' grant type based oauth2 authentication server.

Usage

  1. npm install.
  2. npm start. (or npm run pm2-start).

Test

curl -XPOST -d 'username=admin&password=admin&grant_type=password&client_id=trackr&client_secret=admin' http://localhost:3000/oauth2/token

TODO List

  1. handle redis and mongodb connect before server start.

About

A koa based SSO server with oauth2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published