When setting up an app on the developer platform for Quickbooks Online I need to get one value that QBO gives in the Oauth2.0 flow but I cannot figure out a way to get this value.
So my Auth URL is set correctly as so:
And when I authenticate via this flow intuit redirects back to my app url like so (I removed the values but the keys are the same)
https://zapier.com/dashboard/auth/oauth/return/AppTTTTCLIAPI/?code=stuff&state=blue&realmId=xyz
NOTE: See the realmId=xyz at the end. That is the value I need. This is the ONLY time this value is given in the Oauth flow and there’s no API endpoint to request this value again.
Typically I would get the contents of a response to the Access Token Request though {{bundle.inputData.field}} or {{bundle.authData.field}} but since this realmId comes before the POST to the Access Token Request URL the information is not stored or at least I don’t know how to access it.
So I created a Computed Field, called realmId.
But then I get this as intuit is redirecting back to my Zapier App:
The crazy part is ON THAT PAGE, check out the URL if I scroll to the right:
So I assume that Zapier’s Oauth2.0 flow is grabing the code and state from the query parameters, but how can I tell it to grab the realmId as well?
I thought maybe switching to Code Mode on the Auth URL would give me the ability to process the returning information from intuit but no.
Any help you can provide would be awesome!