Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No OpenID endpoint found. - .Net OpenID

I'm using .Net Open ID (http://code.google.com/p/dotnetopenid/)

I'm trying to add OpenId to a website we are using. I'm running the MVC sample out of the box and recieve the following error when selecting Yahoo/Google.

No OpenID endpoint found.

The error happens on this line of code

return openid.CreateRequest(Request.Form["openid_identifier"]).RedirectingResponse.AsActionResult();

What does this error mean? And are there any common trouble-shooting things we can try?

Just to add the value in - Request.Form["openid_identifier"]

https://www.google.com/accounts/o8/id
like image 805
LiamB Avatar asked Oct 19 '09 12:10

LiamB


1 Answers

First, check to make sure that Request.Form["openid_identifier"] is returning a valid URL (either the openid path to yahoo or google). If it's not then you have an issue with your openid selector. If it is, then the request is being made, but the openid provider isn't responding in time which causes you to get the "No OpenID endpoint found." Try issuing the request again and see if it works a second subsequent time.

UPDATE

If you're running under a proxy you need to specify that

Example:

<defaultProxy useDefaultCredentials="true">  
    <proxy autoDetect="True" usesystemdefault="True"/>  
</defaultProxy>
like image 117
Joseph Avatar answered Oct 09 '22 14:10

Joseph