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:
- Enter the redirect_Uri in the Developer Portal Keys tab under right environment
- The Client makes a request to the authorization server launching a Browser Window: Initiating the Authorization Request
- QuickBooks User enters QBO credentials in the browser window
- Intuit’s Authorization Server validates the Client Credentials and redirects the user back to the pre-configured redirectUri with AuthorizationCode
- 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
Leave a Reply