Skip to content

xhfeng/Tornado-OAuth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tornado-OAuth2

A oauth2 provider server by tornado

Get the project

$ git clone https://github.com/rsj217/Tornado-OAuth2.git

Create the environment

$ cd Tornado-OAuth2
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Install the Mongodb

ubuntu

$ sudo apt-get install mongodb-org 

Mac OS

$ brew install mongodb

Run the Project

$ python run.py --env=dev

Test

resource owner password credentials

$ cd app/legacyserver
$ python models

browser the http://localhost/legacy/client to register a clinet, keep secret the clinet_id and client_secret

$ python tests.py

enjoy

Document

please read the wiki

Feature

  • 0.0.1 support resource owner password credentials

About

A oauth2 provider server by tornado

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published