diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/InfoCardRelyingParty/web.config | 5 | ||||
-rw-r--r-- | samples/OAuthAuthorizationServer/Web.config | 5 | ||||
-rw-r--r-- | samples/OAuthClient/Web.config | 3 | ||||
-rw-r--r-- | samples/OAuthConsumer/Web.config | 3 | ||||
-rw-r--r-- | samples/OAuthResourceServer/Web.config | 5 | ||||
-rw-r--r-- | samples/OAuthServiceProvider/Web.config | 5 | ||||
-rw-r--r-- | samples/OpenIdProviderMvc/Web.config | 5 | ||||
-rw-r--r-- | samples/OpenIdProviderWebForms/Web.config | 3 | ||||
-rw-r--r-- | samples/OpenIdRelyingPartyMvc/Web.config | 5 | ||||
-rw-r--r-- | samples/OpenIdRelyingPartyWebForms/Web.config | 5 | ||||
-rw-r--r-- | samples/OpenIdWebRingSsoProvider/Web.config | 3 | ||||
-rw-r--r-- | samples/OpenIdWebRingSsoRelyingParty/Web.config | 3 |
12 files changed, 44 insertions, 6 deletions
diff --git a/samples/InfoCardRelyingParty/web.config b/samples/InfoCardRelyingParty/web.config index 835625c..510196b 100644 --- a/samples/InfoCardRelyingParty/web.config +++ b/samples/InfoCardRelyingParty/web.config @@ -38,10 +38,13 @@ <defaultProxy enabled="true" /> </system.net> - <appSettings/> + <appSettings> + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> + </appSettings> <connectionStrings/> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OAuthAuthorizationServer/Web.config b/samples/OAuthAuthorizationServer/Web.config index 6d03f39..4e25f1e 100644 --- a/samples/OAuthAuthorizationServer/Web.config +++ b/samples/OAuthAuthorizationServer/Web.config @@ -75,7 +75,12 @@ providerName="System.Data.SqlClient" /> </connectionStrings> + <appSettings> + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> + </appSettings> + <system.web> + <httpRuntime targetFramework="4.5" /> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> diff --git a/samples/OAuthClient/Web.config b/samples/OAuthClient/Web.config index b17ae43..a6b4f3c 100644 --- a/samples/OAuthClient/Web.config +++ b/samples/OAuthClient/Web.config @@ -55,10 +55,13 @@ <!-- Windows Live sign-up: http://go.microsoft.com/fwlink/p/?LinkId=193157 --> <add key="windowsLiveAppID" value="000000004408E558" /> <add key="windowsLiveAppSecret" value="od8NVdanEIWqmlKu9hOepBE3AfUu4jCw" /> + + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> </appSettings> <connectionStrings/> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OAuthConsumer/Web.config b/samples/OAuthConsumer/Web.config index 3330335..558515d 100644 --- a/samples/OAuthConsumer/Web.config +++ b/samples/OAuthConsumer/Web.config @@ -45,10 +45,13 @@ <!-- Yammer sign-up: https://www.yammer.com/client_applications/new --> <add key="yammerConsumerKey" value=""/> <add key="yammerConsumerSecret" value=""/> + + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> </appSettings> <connectionStrings/> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OAuthResourceServer/Web.config b/samples/OAuthResourceServer/Web.config index 978c20b..c7e2133 100644 --- a/samples/OAuthResourceServer/Web.config +++ b/samples/OAuthResourceServer/Web.config @@ -37,13 +37,16 @@ <messaging relaxSslRequirements="true" /> </dotNetOpenAuth> - <appSettings/> + <appSettings> + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> + </appSettings> <connectionStrings> <add name="DatabaseConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OAuthServiceProvider/Web.config b/samples/OAuthServiceProvider/Web.config index 21fe388..674e678 100644 --- a/samples/OAuthServiceProvider/Web.config +++ b/samples/OAuthServiceProvider/Web.config @@ -40,13 +40,16 @@ </messaging> </dotNetOpenAuth> - <appSettings/> + <appSettings> + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> + </appSettings> <connectionStrings> <add name="DatabaseConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OpenIdProviderMvc/Web.config b/samples/OpenIdProviderMvc/Web.config index 28fffc4..b689b41 100644 --- a/samples/OpenIdProviderMvc/Web.config +++ b/samples/OpenIdProviderMvc/Web.config @@ -56,9 +56,12 @@ <!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. --> <reporting enabled="true" /> </dotNetOpenAuth> - <appSettings/> + <appSettings> + <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 diff --git a/samples/OpenIdProviderWebForms/Web.config b/samples/OpenIdProviderWebForms/Web.config index efed107..099d6bf 100644 --- a/samples/OpenIdProviderWebForms/Web.config +++ b/samples/OpenIdProviderWebForms/Web.config @@ -58,9 +58,12 @@ <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 diff --git a/samples/OpenIdRelyingPartyMvc/Web.config b/samples/OpenIdRelyingPartyMvc/Web.config index ba7d656..8e432b0 100644 --- a/samples/OpenIdRelyingPartyMvc/Web.config +++ b/samples/OpenIdRelyingPartyMvc/Web.config @@ -56,9 +56,12 @@ <reporting enabled="true" /> </dotNetOpenAuth> - <appSettings/> + <appSettings> + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> + </appSettings> <connectionStrings/> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OpenIdRelyingPartyWebForms/Web.config b/samples/OpenIdRelyingPartyWebForms/Web.config index 479b285..ed7c4e0 100644 --- a/samples/OpenIdRelyingPartyWebForms/Web.config +++ b/samples/OpenIdRelyingPartyWebForms/Web.config @@ -66,9 +66,12 @@ <!-- Google sign-up: https://www.google.com/accounts/ManageDomains --> <add key="googleConsumerKey" value="demo.dotnetopenauth.net"/> <add key="googleConsumerSecret" value="5Yv1TfKm1551QrXZ9GpqepeD"/> + + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> </appSettings> <system.web> <!--<sessionState cookieless="true" />--> + <httpRuntime targetFramework="4.5" /> <compilation debug="true" targetFramework="4.0"> <assemblies> <remove assembly="DotNetOpenAuth.Contracts"/> @@ -85,7 +88,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> diff --git a/samples/OpenIdWebRingSsoProvider/Web.config b/samples/OpenIdWebRingSsoProvider/Web.config index 3304e97..f439bb4 100644 --- a/samples/OpenIdWebRingSsoProvider/Web.config +++ b/samples/OpenIdWebRingSsoProvider/Web.config @@ -57,10 +57,13 @@ <add key="whitelistedRealms" value="http://localhost:39165/;http://othertrustedrealm/"/> <!-- Set ImplicitAuth to true when using Windows auth, or false for FormsAuthentication --> <add key="ImplicitAuth" value="true"/> + + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> </appSettings> <connectionStrings/> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this diff --git a/samples/OpenIdWebRingSsoRelyingParty/Web.config b/samples/OpenIdWebRingSsoRelyingParty/Web.config index b64f037..b27a1c5 100644 --- a/samples/OpenIdWebRingSsoRelyingParty/Web.config +++ b/samples/OpenIdWebRingSsoRelyingParty/Web.config @@ -64,10 +64,13 @@ <appSettings> <add key="SsoProviderOPIdentifier" value="http://localhost:39167/" /> <add key="SsoProviderOPEndpoint" value="http://localhost:39167/server.aspx" /> + + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> </appSettings> <connectionStrings/> <system.web> + <httpRuntime targetFramework="4.5" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this |