summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderWebForms/Web.config
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdProviderWebForms/Web.config')
-rw-r--r--samples/OpenIdProviderWebForms/Web.config11
1 files changed, 5 insertions, 6 deletions
diff --git a/samples/OpenIdProviderWebForms/Web.config b/samples/OpenIdProviderWebForms/Web.config
index efed107..c028df1 100644
--- a/samples/OpenIdProviderWebForms/Web.config
+++ b/samples/OpenIdProviderWebForms/Web.config
@@ -58,20 +58,19 @@
<appSettings>
<!-- Get your own Yubico API key here: https://upgrade.yubico.com/getapikey/ -->
<add key="YubicoAPIKey" value="3961"/>
+
+ <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
<system.web>
+ <httpRuntime targetFramework="4.5" />
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <remove assembly="DotNetOpenAuth.Contracts"/>
- </assemblies>
- </compilation>
+ <compilation debug="true" targetFramework="4.0" />
<sessionState mode="InProc" cookieless="false"/>
<membership defaultProvider="AspNetReadOnlyXmlMembershipProvider">
<providers>
@@ -90,7 +89,7 @@
Medium: doesn't work unless originUrl=".*" or WebPermission.Connect is extended, and Google Apps doesn't work.
Low: doesn't work because WebPermission.Connect is denied.
-->
- <trust level="Medium" originUrl=".*"/>
+ <trust level="Full" originUrl=".*"/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
<location path="decide.aspx">