A potentially dangerous Request.Form value was detected from the client - nordvall/WifExamples GitHub Wiki
This can happen when the client comes back from the STS and posts a SAML response to the website.
The solution depends on the version of .NET framework used:
Put the following setting in web.config:
<system.web>
<httpRuntime requestValidationMode="4.5" />