title: Redirection URI does not match the one registered for Mendeley API client application
body: <p>I am trying to set up an OAuth2 standard authorisation process to Mendeley API from our Java web application. The following URL gets called (I've blanked out my client id in this post):</p>
  
  <p><a href="https://api.mendeley.com/oauth/authorize?client_id=xxxx&amp;response_type=code&amp;redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fapp%2Fconnect%2Fmendeley&amp;scope=all&amp;state=887e0b43-b8e7-41b3-a120-6063e4bdfed3" rel="nofollow">https://api.mendeley.com/oauth/authorize?client_id=xxxx&amp;response_type=code&amp;redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fapp%2Fconnect%2Fmendeley&amp;scope=all&amp;state=887e0b43-b8e7-41b3-a120-6063e4bdfed3</a></p>
  
  <p>but I get an error:</p>
  
  <pre><code>{"error_message":"Redirection URI does not match the one registered for this application"}
  </code></pre>
  
  <p>I have checked this redirect URI in my Mendeley 'My applications' page and the redirect_uri value is  is exactly the same string of characters as is shown in the page. Please could you tell me if there is  anything wrong with this URL, or if the encoding should be different?</p>
  
  <p>Thanks for any advice</p>
  
  <p>Richard</p>