diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-21 17:55:16 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-21 17:55:16 -0700 |
commit | a05c016a9c73ba3c1d880e2f60be504bcbc36104 (patch) | |
tree | d022eeb4fa8c0b618db3fd777ba483647c9f2233 /samples/OpenIdProviderWebForms | |
parent | baa8dcc4fb574fe81ae701eb9020d10684158781 (diff) | |
parent | 683b55a61af3c7bfa11b74a5cc4efd3556e59613 (diff) | |
download | DotNetOpenAuth-a05c016a9c73ba3c1d880e2f60be504bcbc36104.zip DotNetOpenAuth-a05c016a9c73ba3c1d880e2f60be504bcbc36104.tar.gz DotNetOpenAuth-a05c016a9c73ba3c1d880e2f60be504bcbc36104.tar.bz2 |
Merge branch 'v3.1'
Diffstat (limited to 'samples/OpenIdProviderWebForms')
-rw-r--r-- | samples/OpenIdProviderWebForms/Default.aspx | 2 | ||||
-rw-r--r-- | samples/OpenIdProviderWebForms/Web.config | 35 |
2 files changed, 21 insertions, 16 deletions
diff --git a/samples/OpenIdProviderWebForms/Default.aspx b/samples/OpenIdProviderWebForms/Default.aspx index b216d51..c1c948e 100644 --- a/samples/OpenIdProviderWebForms/Default.aspx +++ b/samples/OpenIdProviderWebForms/Default.aspx @@ -21,6 +21,8 @@ } var bookmarkUrl = document.location + "?rp=" + encodeURIComponent(rpRealm); + var bookmarkParagraph = document.getElementById('bookmarkParagraph'); + var bookmark = document.getElementById('bookmark'); bookmarkParagraph.style.display = ''; bookmark.href = bookmarkUrl; bookmark.innerHTML = bookmarkUrl; diff --git a/samples/OpenIdProviderWebForms/Web.config b/samples/OpenIdProviderWebForms/Web.config index 04d0416..7626751 100644 --- a/samples/OpenIdProviderWebForms/Web.config +++ b/samples/OpenIdProviderWebForms/Web.config @@ -24,6 +24,25 @@ </sectionGroup> </sectionGroup> </configSections> + + <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names), + which is necessary for OpenID urls with unicode characters in the domain/host name. + It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. --> + <uri> + <idn enabled="All"/> + <iriParsing enabled="true"/> + </uri> + + <system.net> + <defaultProxy enabled="true" /> + <settings> + <!-- This setting causes .NET to check certificate revocation lists (CRL) + before trusting HTTPS certificates. But this setting tends to not + be allowed in shared hosting environments. --> + <!--<servicePointManager checkCertificateRevocationList="true"/>--> + </settings> + </system.net> + <!-- this is an optional configuration section where aspects of dotnetopenid can be customized --> <dotNetOpenAuth> <openid> @@ -41,22 +60,6 @@ </untrustedWebRequest> </messaging> </dotNetOpenAuth> - <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names), - which is necessary for OpenID urls with unicode characters in the domain/host name. --> - <uri> - <idn enabled="All"/> - <iriParsing enabled="true"/> - </uri> - - <system.net> - <defaultProxy enabled="true" /> - <settings> - <!-- This setting causes .NET to check certificate revocation lists (CRL) - before trusting HTTPS certificates. But this setting tends to not - be allowed in shared hosting environments. --> - <!--<servicePointManager checkCertificateRevocationList="true"/>--> - </settings> - </system.net> <system.web> <!-- |