Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
218 views
Welcome To Ask or Share your Answers For Others

1 Answer

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>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...