title: IdentityServer4 client redirectURI issue
body: <p>I have the following client configured on the IdentityServer4 host side:</p>
  
  <pre><code>new Client
  {
       ClientId = "myClient",
       ....
       RedirectUris = {"https://localhost:44001/home/claims", 
                        "https://localhost:44001/"}
       ....
  }
  </code></pre>
  
  <p>I am currently trying to get it to return in such a way that it works regardless of which controller in the client app it originates from (since redirectURI is configured at startup time on the client app &amp; has to match the server's client config).</p>
  
  <p>In the client app startup, the relevant code:</p>
  
  <pre><code>app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions
  {
       ...
       ClientId = "myClient",
       RedirectUri = "https://localhost:44001/",
       ...
  }
  </code></pre>
  
  <p>When I set the redirectUri to the second option above, "<a href="https://localhost:44001" rel="noreferrer">https://localhost:44001</a>" on the client startup, I get redirected to the client error controller with the following error:  </p>
  
  <blockquote>
    <p>"Sorry, there was an error  : unauthorized_client    Invalid
    redirect_uri".</p>
  </blockquote>
  
  <p>In addition, the server outputs the following error to console:</p>
  
  <blockquote>
    <p>Exception thrown: 'System.FormatException' in
    System.Private.CoreLib.dll
    IdentityServer4.Validation.AuthorizeRequestValidator:Error: Invalid
    redirect_uri: <a href="https://localhost:44001/" rel="noreferrer">https://localhost:44001/</a> {   "ClientId": "myClient",<br>
    ...   "AllowedRedirectUris": [
        "<a href="https://localhost:44001/home/claims" rel="noreferrer">https://localhost:44001/home/claims</a>",
        "<a href="https://localhost:44001/" rel="noreferrer">https://localhost:44001/</a>"   ], "SubjectId": "anonymous",   "RequestedScopes": "",   "Raw": {
        "client_id": "myClient",
        "redirect_uri": "<a href="https://localhost:44001/" rel="noreferrer">https://localhost:44001/</a>",
        "response_mode": "form_post",
        "response_type": "code id_token",
        ...   } }</p>
  </blockquote>
  
  <p>It's almost like you cannot have multiple redirect URIs for a client, but that can't be right.</p>