user2768720
user2768720

Reputation: 49

OpenId Connect Provider Python 3

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

Answers (4)

lepture
lepture

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:

  1. GitHub: https://github.com/lepture/authlib
  2. OAuth 2 Documentation: https://docs.authlib.org/en/latest/flask/oauth2.html
  3. OIDC Documentation: https://docs.authlib.org/en/latest/flask/oauth2.html

Yes, you need to read OAuth 2 documentation before reading OIDC documentation. Here is an example for OAuth 2 provider.

Upvotes: 2

juanifioren
juanifioren

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

bjmc
bjmc

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

Roland Hedberg
Roland Hedberg

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

Related Questions