Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zslucky/koa-oauth2-password-server
A koa based SSO server with oauth2
https://github.com/zslucky/koa-oauth2-password-server
koa oauth2
Last synced: about 7 hours ago
JSON representation
A koa based SSO server with oauth2
- Host: GitHub
- URL: https://github.com/zslucky/koa-oauth2-password-server
- Owner: zslucky
- Created: 2016-08-01T02:44:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-18T08:48:22.000Z (over 8 years ago)
- Last Synced: 2024-11-10T04:38:05.765Z (about 2 months ago)
- Topics: koa, oauth2
- Language: JavaScript
- Size: 14.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# koa-oauth2-password-server
[![Build Status](https://travis-ci.org/zslucky/koa-oauth2-password-server.svg?branch=master)](https://travis-ci.org/zslucky/koa-oauth2-password-server)A 'password' grant type based oauth2 authentication server.
### Usage
1. `npm install`.
2. `npm start`. (or `npm run pm2-start`).### Test
```bash
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.