title: How can I get the clientID and redirect URI to access files from onedrive in my angular application
body: <p>I am developing an angular application. In my application I need files to be accessed from onedrive. I read their articles and found that I need to register an application before accessing WL API's. </p>
  
  <p>I created an application as described in this link
  <a href="https://msdn.microsoft.com/EN-US/library/office/dn659750.aspx" rel="nofollow">https://msdn.microsoft.com/EN-US/library/office/dn659750.aspx</a>.</p>
  
  <p>I am developing angular application locally so I gave <strong>localhost</strong> or <strong>127.0.0.1</strong> as my redirect URL. But it is throwing the below error when I save the registered application. </p>
  
  <p>"You must enter a valid domain - query strings are not allowed. Length is limited to 248 characters".</p>
  
  <p>What should I specify in the redirect URL if I am developing the application locally? Specifying localhost or 127.0.0.1 in redirect URL is throwing the above error.</p>