I am attempting to develop an Apex class/method that will callout to an external application via a Rest interface. This external application requires a callback URL be passed to it in the call, and then adds special access tokens to the callback url during the redirect. My question is this, what Callback URL can I pass so I can get these tokens back in salesforce to use with my application for the actual interactions with the external system (after the authentication has occurred). Does anyone have suggestions on how to accomplish this?
My current HTTPResponse only comes back with a Status 200 (OK), as the callbackURL is what is supposed to pick up the flow (with the additional tokens).
Thanks in advance! Jim