Yurij
Yurij

Reputation: 1588

Python3 OpenID-library

I search for OpenID-library, which works with python3. I need to be an OpenID-provider and OpenID-consumer. tornado.auth provides only consumer functionality. What I can use to implement provider functionality, or how it can be implemented with tornado?

Does anybody uses python3-openid (fork of python-openid)? How it works?

Upvotes: 0

Views: 1556

Answers (3)

Arthur Davis
Arthur Davis

Reputation: 51

I went with pyoidc because it is listed as a "Certified Relying Party Library" on the official list of "Certified OpenID Connect Implementations" directly on the website for the OpenID standard. It runs on Python 3.5+ and also doubles as a full OAuth2.0 implementation.

I know this is an old post but it is still relevant. One should not screw around when it comes to things like security and authentication, it could very well save your job to stick with officially recommended or certified libraries - if anything goes wrong, at least your choice of authentication library can't be called into question!

Upvotes: 2

necaris
necaris

Reputation: 247

python3-openid is the Python 3 version of python-openid, which has been more or less the reference library for OpenID in Python for several years. So it should implement everything you need. (Disclaimer: I ported python3-openid over and am the maintainer of the PyPI package).

However, for Tornado you will need a non-blocking implementation, ideally using Tornado's HTTPClient classes, and currently python3-openid does not provide that -- if you'd like to implement it, though, I'll gladly work on your pull request!

Upvotes: 2

Abdelouahab Pp
Abdelouahab Pp

Reputation: 4440

have you tried this, i found it on pypi: http://pypi.python.org/pypi/python3-openid/3.0.1

Upvotes: 0

Related Questions