/oauth-pythonclient

The Python OAuth client provides a set of methods that make it easier to work with Intuit's OAuth and OpenID Connect implementation.

Primary LanguagePythonApache License 2.0Apache-2.0

Intuit's OAuth2 and OpenID Connect Python Client

coverage Documentation Status

The official Python client library for working with Intuit APIs. The AuthClient object response can be used for the Intuit UserInfo API, QuickBooks Accounting API, and QuickBooks Payments API.

This library supports:

  • Raising authorization requests
  • Requesting OAuth2 bearer (access) tokens
  • Refreshing OAuth2 tokens
  • Revoking OAuth2 tokens
  • Validating ID tokens
  • Fetching profile attributes from UserInfo
  • Various utility methods
  • Migrating tokens from OAuth1.0 to OAuth2

Install

Using pip:

$ pip install intuit-oauth

Documentation

Usage and reference documentation can be found at oauth-pythonclient.readthedocs.io.

Sample App

A sample app for this library can be found on the IntuitDeveloper GitHub Org.

Issues and Contributions

Please open an issue on GitHub if you have anything to report, a suggestion, or comment.

Pull requests are welcomed and encouraged! Any contributions should include new or updated unit tests as necessary to maintain thorough test coverage.

License

This library is provided under Apache 2.0 which is found here