I'm writing an application that will integrate a web application (i.e. Harvest). The web application supports authorization via OAuth2
.
The workflow seems to be:
Direct the user to a specific URL where they can be authenticated and give permission to my application.
Within that first request, I'm supposed to provide a callback uri that will receive the authorization token.
Use the sent authorization token to make requests on behalf of the user.
The first part seems simple enough, but what should the callback uri be? This isn't a website, it doesn't have an exposed web interface.