title: ITfoxtec Identity.Saml2.MvcCore -- SAML ERROR Form key length limit 2048 exceeded
body: <p>I am using ITfoxtec Identity.Saml2.MvcCore for .net core v3.1 for Single sign on using Ping Identity.</p>
  <p><strong>SAML ERROR Form key length limit 2048 exceeded.</strong>   at Microsoft.AspNetCore.WebUtilities.FormPipeReader.ThrowKeyTooLargeException()
  at Microsoft.AspNetCore.WebUtilities.FormPipeReader.ParseValuesSlow(ReadOnlySequence<code>1&amp; buffer, KeyValueAccumulator&amp; accumulator, Boolean isFinalBlock) at Microsoft.AspNetCore.WebUtilities.FormPipeReader.ParseFormValues(ReadOnlySequence</code>1&amp; buffer, KeyValueAccumulator&amp; accumulator, Boolean isFinalBlock)
  at Microsoft.AspNetCore.WebUtilities.FormPipeReader.ReadFormAsync(CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Http.Features.FormFeature.InnerReadFormAsync(CancellationToken cancellationToken)
  at Microsoft.AspNetCore.Http.Features.FormFeature.ReadForm()
  at Microsoft.AspNetCore.Http.DefaultHttpRequest.get_Form()
  at ITfoxtec.Identity.Saml2.MvcCore.HttpRequestExtensions.ToGenericHttpRequest(HttpRequest request)
  at Nbc.Score.Remotes.Web.Controllers.HomeController.AssertionConsumerService()</p>
  <p><strong>Failed method</strong>   ITfoxtec.Identity.Saml2.MvcCore.HttpRequestExtensions.ToGenericHttpRequest</p>