Reputation: 1971
I am trying to get some information from quickbook online. I am completely depending on the client side to get the data. I am using oauth1.0a.js library to create signature, tokens etc. I am confused with the starting point.
As the first step I create a new object with the following information
var oauth = new OAuth({
consumer: {
public: '********',
secret: '********'
},
signature_method: 'HMAC-SHA1'
});
Now I have to obtain the following information
var oauthdata=oauth.authorize(request,'token');
var sign=oauth.getSignature(request,"token",oauthdata);
I am confused over the token aspect. I know only about one token that is app_token which is generated while an app is created from the https://developer.intuit.com. But I need an auth_token to get the data successfully. How to generate this token?
The oauth documentation says that The Consumer obtains an unauthorized Request Token. The User authorizes the Request Token. The Consumer exchanges the Request Token for an Access Token.
Upvotes: 0
Views: 1284
Reputation: 27952
Did you read Intuit's OAuth documentation?
Authentication with Intuit's platform is via OAuth. The short explanation is:
Upvotes: 1