lepture / authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
https://authlib.org/
BSD 3-Clause "New" or "Revised" License
4.59k stars 461 forks source link

Django OAuth2/OIDC server example #251

Open peppelinux opened 4 years ago

peppelinux commented 4 years ago

This Issue is not related to any problems regarding authlib but it want just to get some useful information and also purpose some Documentation and example enhanchements. Is there a working example as an example django project, to get a fully featured and working authlib AS/Provider?

I'd like to have a rudimental structure to working on and starting the development of a OIDC Provider ready for production environment. I'd like to have an example folder in this project or a separate repository, related to this, to get a boostrap project.

Is there some additional resources from which to draw?

peppelinux commented 4 years ago

I found https://github.com/authlib/example-oidc-server is there any drawback related to it? IS there a good starting point to built a example-oidc-server repository related to django or should we want to include a django project in that repository, coupled with the Flask one?

lepture commented 4 years ago

I'd like to receive a PR for django example. We can structure code:

example-oidc-server
    flask
    django