Skip to content

An ambitious authentication library for OAuth 1, OAuth 2, OpenID clients and servers.

License

Notifications You must be signed in to change notification settings

jasperpeeters/authlib

 
 

Repository files navigation

Authlib

Build Status Coverage Status Wheel Status

Authlib is an ambitious authentication library for OAuth 1, OAuth 2, OpenID clients, servers and more.

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

Spec Implementations

Lovely features that Authlib has built-in:

  • RFC5849: The OAuth 1.0 Protocol
  • RFC6749: The OAuth 2.0 Authorization Framework
  • RFC6750: The OAuth 2.0 Authorization Framework: Bearer Token Usage
  • RFC7009: OAuth 2.0 Token Revocation
  • RFC7662: OAuth 2.0 Token Introspection
  • OpenID Connect 1.0 (Client is supported)

And more will be added.

Framework Integrations

Framework integrations with current specification implementations:

  • Requests OAuth 1 Session
  • Requests OAuth 2 Session
  • Flask OAuth 1/2 Client
  • Django OAuth 1/2 Client
  • Flask OAuth 1 Server
  • Flask OAuth 2 Server
  • Django OAuth 1 Server
  • Django OAuth 2 Server

Security Reporting

If you found security bugs which can not be public, please send me email at [email protected]. Attachment with patch is welcome.

Useful Links

  1. Take a look at Authlib Homepage
  2. Get more information with Authlib Documentation
  3. Have a taste with Authlib Playground
  4. Stay tuned with Authlib Newsletter
  5. Get latest news via Authlib on Twitter
  6. Ask questions on StackOverflow with Authlib Tag

License

Authlib is licensed under LGPLv3. Please see LICENSE for licensing details.

If this license does not fit your company, consider to purchase a commercial license.

Find more information on https://authlib.org/support#commercial-license

About

An ambitious authentication library for OAuth 1, OAuth 2, OpenID clients and servers.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Makefile 0.1%