function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sandeep@Salesforcesandeep@Salesforce 

How to get access token from QuickBook API based on user name password flow

We would like to get access token based on user name and password from Quickbook API in to salesforce apex class. 
Please provide bodyRequest structure , setheader 'Authorization' if possible. 
NagendraNagendra (Salesforce Developers) 
Hi Sandeep,

Intuit does not support this (because it would be a gigantic security risk).
 
You must implement the OAuth flow to get your access token/refresh token so that you can use the API. You can do this in Apex code.
 
Here are some OAuth1 examples (OAuth2 should be even easier): Hope this helps.

Thanks,
Nagendra