title: REDIRECT_URI issue when creating new AD B2C APP
body: <p>I am currently creating an Azure B2C Application, to be used by our company site.</p>
  
  <p>I followed the instructions on the following sites:</p>
  
  <p>http s://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-app-registration</p>
  
  <p>http s://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-policies</p>
  
  <p>Specifically, I did the following:</p>
  
  <ol>
  <li>Under "Applications", I Created a B2C Application, named "My B2C App" <br/></li>
  <li>Generated a key. Noted this down as well as the Application ID <br/></li>
  <li>Set the Reply Url to "<a href="https://mysite.test.com/login/" rel="nofollow noreferrer">https://mysite.test.com/login/</a>" <br/></li>
  <li>Under "Identify Providers", I selected "Microsoft", and used the Application ID and key in #2 <br/></li>
  <li>Under "Sign-in Policies", I created a new policy names "B2C_signin1".<br/></li>
  <li>Set the Identify Provider to "Microsoft". <br/></li>
  <li>Under "Application Claims" I selected "Display Name", "Email Address", "Given Name", "Identify Provider", "Surname", and "User's Object ID" <br/></li>
  <li>Once saved, I select the Application "My B2C App", and select the "Reply URL" --> "<a href="https://mysite.test.com/login/" rel="nofollow noreferrer">https://mysite.test.com/login/</a>", which is already there in the dropdown by default. <br/></li>
  <li>I click on "Run now".<br/></li>
  </ol>
  
  <p>I get redirected temporarily to the generated URL below:</p>
  
  <blockquote>
    <p>https /login.microsoftonline.com/mytenant.onmicrosoft.com/oauth2/v2.0/authorize?p=B2C_1_signin1&amp;client_Id=&amp;nonce=defaultNonce&amp;redirect_uri=https%3A%2F%2Fmysite.test.com%2Flogin%2F&amp;scope=openid&amp;response_type=id_token&amp;prompt=login</p>
  </blockquote>
  
  <p>I then get the error:</p>
  
  <blockquote>
    <p>https /login.live.com/err.srf?lc=34313#error=invalid_request&amp;error_description=The+provided+value+for+the+input+parameter+'redirect_uri'+is+not+valid.+The+expected+value+is+'https //login.live.com/oauth20_desktop.srf'+or+a+URL+which+matches+the+redirect+URI+registered+for+this+client+application.&amp;state=</p>
  </blockquote>
  
  <p>Why am I getting this error when the Reply URL I set up in for my Application is the same as the one I used in the creation of my policy?  Is the way I set up my B2C App is correct? Could this be a bug in B2C App creation?</p>
  
  <p>I did follow the instructions in the links above to the letter.</p>
  
  <p>Any assistance on this issue would be appreciated.</p>