title: AddOpenIdConnect error - SecurityTokenException: Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: ''."
body: <p>I am getting this exception in my ASP.NET Core 3.1 app.
  Those are parameters used:</p>
  
  <pre><code>                options.ClientId = config["Connection:ClientId"];
                  options.ClientSecret = config["Connection:ClientSecret"];
                  options.Authority = config["Connection:Uri"];
                  options.CallbackPath = new PathString("/signin");
                  options.ResponseType = "code";
                  options.ResponseMode = "query";
                  options.RequireHttpsMetadata = false;
  </code></pre>
  
  <p>I get both authorization code and access token, but after that I get error message as shown:</p>
  
  <blockquote>
    <p>Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: ''."</p>
  </blockquote>
  
  <p>Why is this validation for "id_token" occurring even tough I am using "code" as a response type?</p>
  
  <p>Thank you for your help.</p>