title: The Request body must contain the following parameter 'client_id'
body: <p>I have setup a Azure AD application for single-signon. I followed Microsofts tutorial <a href="https://dev.onedrive.com/auth/aad_oauth.htm" rel="nofollow noreferrer">https://dev.onedrive.com/auth/aad_oauth.htm</a> to set this upp and it all works fine, most of the time.</p>
  <p>Sometimes when the user is trying to login to recieve the callback code the authorization fails and a redirect is performed back to the previous loginpage. The redirect is perfomed by the Microsoft API. The problem is that the parameter &quot;client_id&quot; is sometimes lost in this redirect, even though it was sent in the first request.<a href="https://i.stack.imgur.com/ot5UJ.png" rel="nofollow noreferrer">see url in this pic</a></p>
  <p>Could this be i bug in the OneDrive API?</p>