Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

no openid endpoint found

what changes are needed to made in web.config file to prevent this exception i am using dotnet open id for implementing open id.

using (OpenIdRelyingParty openid = new OpenIdRelyingParty())
            {
                IAuthenticationRequest request = openid.CreateRequest(this.txtOpenId.Text);

and at this point an exception is generated no openid endpoint found for example in case i am typing claimid.com/openid

like image 314
Mac Avatar asked Feb 13 '26 23:02

Mac


1 Answers

I had the same problem and I solved it setting up logs for DotNetOpenAuth (http://www.dotnetopenauth.net/developers/help/loggingdebugging-dotnetopenauth-with-log4net/). If you are using Log4Net you can try this:

<appender name="FileApp_DotNetOpenAuth" type="log4net.Appender.RollingFileAppender">
    <file value="Logs/DotNetOpenAuth.log" />
    <appendToFile value="true" />
    <rollingStyle value="Size" />
    <maxSizeRollBackups value="10" />
    <maximumFileSize value="5MB" />
    <staticLogFileName value="true" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
    </layout>
  </appender>

<logger name="DotNetOpenAuth">
    <level value="ALL" />         
    <appender-ref ref="FileApp_DotNetOpenAuth"/>
  </logger>

Then check the log file DotNetOpenAuth.log for your current error. It would help you troubleshoot the problem.

like image 72
Ajadex Avatar answered Feb 15 '26 11:02

Ajadex