Skip to content

Patreon/flask-oauthlib

 
 

Repository files navigation

Flask-OAuthlib

Donate lepture Wheel Status Latest Version Travis CI Status Coverage Status

Notice

You SHOULD use https://github.com/lepture/authlib instead.


Flask-OAuthlib is an extension to Flask that allows you to interact with remote OAuth enabled applications. On the client site, it is a replacement for Flask-OAuth. But it does more than that, it also helps you to create OAuth providers.

Flask-OAuthlib relies on oauthlib.

Sponsored by

If you want to quickly add secure authentication to Flask, feel free to check out Auth0's Python API SDK and free plan at auth0.com/overview Coverage Status

Features

  • Support for OAuth 1.0a, 1.0, 1.1, OAuth2 client
  • Friendly API (same as Flask-OAuth)
  • Direct integration with Flask
  • Basic support for remote method invocation of RESTful APIs
  • Support OAuth1 provider with HMAC and RSA signature
  • Support OAuth2 provider with Bearer token

And request more features at github issues.

Security Reporting

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

Installation

Installing flask-oauthlib is simple with pip:

$ pip install Flask-OAuthlib

If you don't have pip installed, try with easy_install:

$ easy_install Flask-OAuthlib

Additional Notes

We keep documentation at flask-oauthlib@readthedocs.

If you are only interested in the client part, you can find some examples in the example directory.

There is also a development version on GitHub.