title: How to use the oAuth authentication of the Deezer API with a desktop application?
body: <p>I am starting to write a Winforms application that uses the <a href="http://developers.deezer.com/api/oauth" rel="nofollow">Deezer Api</a>.</p>
  
  <p>For now, I am stuck with their <strong>OAuth authentication</strong> process.</p>
  
  <p>The OAuth authentication process of Deezer accepts two differents flows to get the user authenticated and authorized : the <strong>Server-side</strong> flow and the <strong>Client-side</strong> flow.</p>
  
  <ul>
  <li>The Server-side flow is used by Web applications</li>
  <li>The Client-side flow is used with browser client application in javascript and mobile applications.</li>
  </ul>
  
  <p>I assumed (maybe wrongly) I could use the Client-side flow to get a user authenticated in a Winforms application : </p>
  
  <p>Then I wrote a form that launch the Deezer Login Web Page in a WebBrowser control, thinking I could parse the Response after to get the access token. Normally, the page allows it if I add the <code>response_type=token</code> parameter to the login page URL.</p>
  
  <p>Unfortunately, there is a <code>redirect_uri</code> parameter has to be provided too. However, I dont plan to use a web site because it is not applicable in my scenario.</p>
  
  <p>Apparently, there is no way to trick this, and the login page shows an error message saying it is missing and refuses to start the authentication process.</p>
  
  <p>Before to ask Deezer about how to use their API against a Winform application, I would like to know if someone already bumped into this, and how he managed to solve it.</p>
  
  <p>Because I am new to OAuth, I am wondering if I am missing some point, or if the Deezer API is not applicable to my scenario.</p>