title: OAuth redirect URI alternatives for non-web applications?
body: <p>What would be the best way to handle redirect URIs for OAuth authentication?</p>
  
  <p>In a few projects, I used to boot up a web server that would wait for the authentication to be sent back. Is there any way to trigger any type of code without a local web server, or is it the recommended way?</p>
  
  <p>I'm not asking for help about any specific languages, this is more like a language agnostic question.</p>