How can I see the complete Intuit OAuth2 "Get Token" URL / URI?

I am trying to build a Microsoft Windows based app using Lazarus and Free Pascal that connects to Intuit (QuickBooks Online (QBO) API server). In the past two months, I have successfully built a TIdHTTP component that “talks to” RingCentral using OAuth2, and I can issue API requests, in a production environment. So I know I can make OAuth2 work on a Lazarus/Microsoft Windows development platform.

I always start with PostMan, because it allows me to see the “mechanics” behind the scenes, then I emulate those URLs/URIs params, headers, etc. in Lazarus. But the thing I need most, no longer seems visible in PostMan. I just need to see the URL (or URI?) that PostMan sent to QBO. In my version, all I have is a “Get New Access Token” button, and it displays all the headers or parameters or what ever those things are, then I click “Get Token” , I am able to get a new token… but there is no way to see the URL that was issued to get this token.

I am using the QuickBooks Online V3API Collections OAuth2. These are all very helpfull, but only for the APIs after a token is obtained.

.

Hi @RedOctober2020,

Great to see you back, and great question too. Thats a little hard to figure out. I don’t have much experience with it, but I have an idea.

I first tried using the dev tools, and sadly had no luck in seeing requests in the network tab. You can look there yourself and execute the get new token call to see if it works.

Otherwise, your second best bet is to open up the .collection file, and look for where the “Get Access Token” is referenced. I’d imagine the URI would be stored as a variable but sounds like its not.

Ideally, doing a search in the collection file should probably get it, just have to dig through the config.

Hope this helps!

Best,
Orest

1 Like

Hmmm… when starting up PostMan to investigate your suggestions, PostMan auto-updated to v8.0.7. Now, when I click on the Collection, it has it’s own “Authorization” tab. Which makes more sense. I do a Get Token, and it succeeds. I went hunting around on the screen, and bottom left there is a little “Console” button. I clicked it. It seems to show everything I need to proceed. It shows what I think is the complete GET URLs/URIs that were sent to complete the OAuth2 authorization process. I’m not stuck anymore. Thanks.

2 Likes

Hi @RedOctober2020,

You’re welcome! Glad the console was able to help you out! I wasn’t really sure the request would show up there, but looks like it did.