Note that there are some explanatory texts on larger screens.

plurals
  1. POCan I test OpenID Provider on server from a Relying Party in my local machine? - DotNetOpenAuth
    text
    copied!<p>I had created a provider and a Relying Party in Visual Studio using the DNOA library and it worked well. Then, I moved the provider to the server and tried to test it from the Relying Party from my local machine. The RP gives the error of 'No OpenID endpoint found'. </p> <p>I think I am missing something in Web.config. In the <code>WhitelistHost</code> attribute, I have added the wildcard "*" which should make the provider to accept requrests from anyone (for testing purpose). Is there anything else that I am not aware of? I am relatively new to the topic.</p> <p>Web.config - </p> <p> </p> <pre><code>&lt;!-- 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. --&gt; &lt;uri&gt; &lt;idn enabled="All"/&gt; &lt;iriParsing enabled="true"/&gt; &lt;/uri&gt; </code></pre> <p> </p> <pre><code>&lt;!-- this is an optional configuration section where aspects of DotNetOpenAuth can be customized --&gt; &lt;dotNetOpenAuth&gt; &lt;openid&gt; &lt;provider&gt; &lt;security requireSsl="false" /&gt; &lt;behaviors&gt; &lt;!-- Behaviors activate themselves automatically for individual matching requests. The first one in this list to match an incoming request "owns" the request. If no profile matches, the default behavior is assumed. --&gt; &lt;!--&lt;add type="DotNetOpenAuth.OpenId.Provider.Behaviors.PpidGeneration, DotNetOpenAuth"/&gt;--&gt; &lt;/behaviors&gt; &lt;/provider&gt; &lt;/openid&gt; &lt;messaging&gt; &lt;untrustedWebRequest&gt; &lt;whitelistHosts&gt; &lt;!-- since this is a sample, and will often be used with localhost --&gt; &lt;add name="localhost"/&gt; &lt;add name="*"/&gt; &lt;/whitelistHosts&gt; &lt;/untrustedWebRequest&gt; &lt;/messaging&gt; &lt;!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. --&gt; &lt;reporting enabled="true" /&gt; &lt;/dotNetOpenAuth&gt; &lt;appSettings&gt; &lt;add key="whitelistedRealms" value="http://localhost:39165/;http://othertrustedrealm/;http://localhost/;http://localhost:4856/"/&gt; &lt;!-- Set ImplicitAuth to true when using Windows auth, or false for FormsAuthentication --&gt; &lt;add key="ImplicitAuth" value="true"/&gt; &lt;/appSettings&gt; .... </code></pre> <p><strong>Edit:</strong> I am not sure if it matters but the server uses SSL.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload