The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Alternatives To Authlib
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Passport21,30081,2723,91612 hours ago32May 20, 2022363mitJavaScript
Simple, unobtrusive authentication for Node.js.
7 days ago29mitJava
🏆Gitee 最有价值开源项目 🚀:100: 小而全而美的第三方登录开源组件。目前已支持Github、Gitee、微博、钉钉、百度、Coding、腾讯云开发者平台、OSChina、支付宝、QQ、微信、淘宝、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、企业微信、酷家乐、Gitlab、美团、饿了么、推特、飞书、京东、阿里云、喜马拉雅、Amazon、Slack和 Line 等第三方平台的授权登录。 Login, so easy!
Hydra13,8838a day ago1May 08, 201971apache-2.0Go
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
Cas10,04123062 days ago127September 04, 20222apache-2.0Java
Apereo CAS - Identity & Single Sign On for all earthlings and beyond.
Identityserver48,9443143593 months ago99March 18, 2021apache-2.0C#
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Authlib3,5801621474 days ago35April 06, 202247bsd-3-clausePython
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Openiddict Core3,36543233 days ago28August 22, 202222apache-2.0C#
Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1)
8 days ago175September 14, 202259apache-2.0Go
A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
Node Oidc Provider2,608256219 hours ago317September 13, 2022mitJavaScript
OpenID Certified™ OAuth 2.0 Authorization Server implementation for Node.js
Appauth Android2,387120416 days ago8December 22, 2021169apache-2.0Java
Android client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Alternatives To Authlib
Select To Compare

Alternative Project Comparisons


Build Status Coverage Status PyPI Version Maintainability Follow Twitter

The ultimate Python library in building OAuth and OpenID Connect servers. JWS, JWK, JWA, JWT are included.

Authlib is compatible with Python3.6+.


If you want to quickly add secure token-based authentication to Python projects, feel free to check Auth0's Python SDK and free plan at
Kraken is the world's leading customer & culture platform for energy, water & broadband. Licensing enquiries at
A blogging and podcast hosting platform with minimal design but powerful features. Host your blog and Podcast with

Fund Authlib to access additional features


Generic, spec-compliant implementation to build clients and providers:

Connect third party OAuth providers with Authlib built-in client integrations:

Build your own OAuth 1.0, OAuth 2.0, and OpenID Connect providers:

Useful Links

  1. Homepage:
  2. Documentation:
  3. Purchase Commercial License:
  4. Blog:
  5. Twitter:
  6. StackOverflow:
  7. Other Repositories:
  8. Subscribe Tidelift:

Security Reporting

If you found security bugs, please do not send a public issue or patch. You can send me email at [email protected]. Attachment with patch is welcome. My PGP Key fingerprint is:

72F8 E895 A70C EBDF 4F2A DFE0 7E55 E3E0 118B 2B4C

Or, you can use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.


Authlib offers two licenses:


Companies can purchase a commercial license at Authlib Plans.

If your company is creating a closed source OAuth provider, it is strongly suggested that your company purchasing a commercial license.


If you need any help, you can always ask questions on StackOverflow with a tag of "Authlib". DO NOT ASK HELP IN GITHUB ISSUES.

We also provide commercial consulting and supports. You can find more information at

Popular Openid Projects
Popular Oauth Projects
Popular Security Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Openid Connect
Oauth2 Server
Oauth2 Provider