Authlib
The ultimate Python library in building OAuth and OpenID Connect servers. It is designed from low level specifications implementations to high level frameworks integrations, to meet the needs of everyone.
Authlib is compatible with Python2.7+ and Python3.6+. (We will drop Python 2 support when Authlib 1.0 is released)