API Docs & Tools Blog Help
Two New OAuth2 Libraries - Intuit Developer Community Blog

October 11, 2018 | Lisa Rathjens

Two New OAuth2 Libraries

We understand that OAuth2.0 and OpenID can be daunting to implement. That’s why Intuit Developer built two new OAuth2.0 libraries in Python and Node.js that can be imported into your app to obtain an OAuth Access Token easily.

OAuth2.0 and OpenID are described in detail in the Intuit Developer Guide here

In a nutshell below are the steps you should do follow to get an OAuth Access Token:

  1. Enter the redirect_Uri in the Developer Portal Keys tab under right environment
  2. The Client makes a request to the authorization server launching a Browser Window: Initiating the Authorization Request
  3. QuickBooks User enters QBO credentials in the browser window
  4. Intuit’s Authorization Server validates the Client Credentials and redirects the user back to the pre-configured redirectUri with AuthorizationCode
  5. Client exchanges this AuthorizationCode for bearer token and refresh tokens: Exchange code for refresh and access tokens

1. Python

OAuth2 Python library
Install package: 

  • $ pip install intuit-oauth

Access the Python library on GitHub

Review the Usage guide

2. Node.js

OAuth2 Node.js library
Install package:

  • $ npm install intuit-oauth

Access the Node.JS library on GitHub

These libraries also include modules to migrate OAuth1.0 tokens to OAuth2.0. If your app uses OAuth1.0a and you don’t know how to get started with the migration, please contact Support and we’ll be happy to help you. 


Intuit Developer


View all
Load more comments