Python authentication / authorization

I am developing a REST API in python with a tornado, and I am going to implement authentication and authorization, trying to avoid blocking other large projects like django. I go through the forums, too, and I am addicted to a solution that might fit: repoze.who / what. This seems like a good solution, but I'm a little afraid of project activity (repoze.what the latest version seems to be 1.0.9 (2010-03-04)), and if it can work with async IO.

Has anyone tried and / or knows something else?

+4
source share
1 answer

A few months ago I wrote python-auth . It is easy to use with the RESTFul API.

Installation:

pip install auth

Run:

auth-server

:

:

from auth.client import Client
service = Client('srv201', '<Auth-Server IP:PORT>')
print(service)
service.get_roles()
service.add_role(role='admin')

RESTFul API

0

All Articles