You need to sign in to do that
Don't have an account?
sandeep@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.
Please provide bodyRequest structure , setheader 'Authorization' if possible.
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):
- https://arungaikwad.wordpress.com/2012/12/29/developing-oauth-2-0-library-with-apex-day-2/
- https://github.com/jesperfj/sfdc-oauth-playground
Hope this helps.Thanks,
Nagendra