I'm trying to connect to a system called QuickBooks that requires oauth 2.0 in order to access information from it. I know that appian allows "oauth 2.0: client credential grant", in order to connect just with one global account for all the user to retrieve the information.
But "oauth 2.0: client credential grant" is not available in QuickBooks online at the current moment, I can only access through the "oauth 2.0: authorization code grant".
The site lets me get tokens that I could use for a period of time and I would like to see if there is a way to pass those tokens
The way that QuickBooks works is:
1:the site can give me an access token (valid for 60 minutes) and a refresh token (valid for 100 days).
2 the refresh token needs to send a request in order to obtain the new access token.
Because of this I'm trying to figure out a way to pass this
tokens through the integration object.
is there any way to do it ?.
Discussion posts and replies are publicly visible
Sure. First implement an integration to fetch the access token. In the second integration, you add a header to send that token. To get it you call the first integration inside the second one.
Does that help?
Of course it helps but im having some issues fetching the acces token
this is how my http request should look like.
but this is the request that I'm getting right now. How should i fix this request in order to get it look like the first picture ?
I appreciate your help sir !
I cannot spot the difference ?!?
thanks for your support Stefan the problem was that the content type required the parameters to be sent through the body as plain text once i did this everything worked as expected.
Cool. You are welcome.
Hi Felix,
I am also attempting to connect to QBO and having similar issues. Did you ever get the authentication to work for QBO? It seems like you were able to make some progress here, but the entire OAuth2.0 flow for QBO seems to not play well with Appian.