OAuth2 Server on Python (with flask on Centos)

So at work we have started to look at OAuth2 for our web apps. So on our creativ friday today i started looking at putting together an OAuth2 server using python and flask.

I followed the guide from this pageĀ http://lepture.com/en/2013/create-oauth-server

And after some work I got an working server and client running on my Centos server.

The code only uses an sqlite db and are only testing the OAuth functions so for a working solutions there are some more work.

 

All info how get the server and client and code are located here on my github

https://github.com/mattiashem/python-oauth2