Reputation: 49
I'm looking for a good package that can be used to implement a OpenId Connect Provider. I've found one called pyoidc but the documentation around it is not great at all. Can anyone suggest a different package or does any one have an example implementation of pyoidc?
Upvotes: 4
Views: 3646
Reputation: 2422
In case someone needed. I've been working on Authlib for a while, it has (will have) every OAuth 2 specifications included. OpenID Connect is included too. With Authlib v0.6+, one can create an OpenID Connect provider with ease in Flask. Useful links:
Yes, you need to read OAuth 2 documentation before reading OIDC documentation. Here is an example for OAuth 2 provider.
Upvotes: 2
Reputation: 683
OpenID Connect Provider implementation for Django framework: https://github.com/juanifioren/django-openid-provider
It works for Python 3.4 and 2.7.
Do not hesitate to ask me if you have any further questions.
Greetings.
-Ignacio
Upvotes: 5
Reputation: 3302
A Japanese company, Gehirn, has open-sourced their Python 3-compatible OpenID Connect library but the documentation is unfortunately pretty sparse.
Upvotes: 1
Reputation: 145
There are examples in the distribution. Just added another RP example (rp3) which I think should be easier to understand. Also started to add documentation.
Upvotes: 2