Authlib: Ready to use Authentication

Release v0.3. (Installation)

Authlib is a ready to use authentication library. It is designed from low level APIs to high level APIs, to meet the needs of everyone.


Lovely features that Authlib has built-in:

  • Generic specification implementations
  • OAuth 1 (RFC5849)
  • OAuth 2 (RFC6749, RFC6750, RFC7009)
  • OpenID Connect
  • OAuth 1, OAuth 2 Requests Sessions
  • Mixed OAuth 1 and OAuth 2 Client
  • Integrated client with Flask
  • Integrated client with Django
  • TODO Flask OAuth 1 Server
  • Flask OAuth 2 Authorization server and resource protector
  • TODO Django OAuth 1 / OAuth 2 Servers

Authlib is compatible with Python2.7+ and Python3.5+.

Server Guide

This part of the documentation contains information on the server parts.


Django support will be added later.


Guide on specifications. You don’t have to read this section if you are just using Authlib. But it would be good for you to understand how Authlib works.

(Under Construction)

API Reference

If you are looking for information on a specific function, class or method, this part of the documentation is for you.

Get Updates

Stay tuned with Authlib, here is a history of Authlib changes.

Subscribe the Newsletter

Here is a NEWSLETTER for you: