Logo
Home

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. 

Thanks!

Intuit Developer


Posted

in

by

Tags:

Comments

One response to “Two New OAuth2 Libraries”

  1. Joyce Avatar
    Joyce

    Contact support link is broken and there doesn’t seem to be any way to directly contact support anymore as as developer, is there?

Leave a Reply

Your email address will not be published. Required fields are marked *