Installation of Authlib

This part of the documentation covers the installation of Authlib, just like any other software package needs to be installed first.

$ pip install Authlib

Installing Authlib is simple with pip:

$ pip install Authlib

It will also install the dependencies:

  • requests
  • cryptography


You may enter problems when installing cryptography, check its official document at

Get the Source Code

Authlib is actively developed on GitHub, where the code is always available.

You can either clone the public repository:

$ git clone git://

Download the tarball:

$ curl -OL

Or, download the zipball:

$ curl -OL

Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:

$ cd authlib
$ pip install .