Creating a Custom OAuth Application
Creating a Custom OAuth Application
To experience fuller functionality via desktop or headless machine connections OR to connect via the web, you must create a custom OAuth application. And since custom OAuth applications seamlessly support all three commonly-used auth flows, you might want to create custom OAuth applications (use your own OAuth Application Credentials) for those auth flows anyway.Custom OAuth applications are useful if you want to:
- Control branding of the authentication dialog.
- Control the redirect URI that the application redirects the user to after the user authenticates.
- Customize the permissions that you are requesting from the user.
Procedure
This procedure registers a new application for authenticating via OAuth 2.0, and obtains the OAuth client credentials, the OAuthClientId, and OAuthClientSecret.- Log into your Intuit developer account.
- From the Menu at the top, select Dashboard.
- Under the Apps tab, click Create an App.
- Specify QuickBooks Online and Payments as the platform you want to develop for.
- Provide a name for your new application.
- Select the scopes for the APIs to be accessed.
After the application is created successfully:
- Navigate to the Keys & OAuth tab. Under Development, locate the Client ID and Client Secret. Record these for later use.
- Edit the application's CallbackURL property to reflect your desired Redirect URI; for example, http://localhost:33333.
Record the Redirect URI for later use.