问题
I tried this example for openid in http://weblogs.asp.net/haithamkhedre/archive/2011/03/13/openid-authentication-with-asp-net-mvc3-dotnetopenauth-and-openid-selector.aspx I applied the same code in my newly created project , I get this error when i click the google icon in the logon page. I din change any code from the sample project I downloaded from this website, still I get this error .
回答1:
This sounds just like an MVC controller problem. your Account controller is expected to have an Authenticate action. And since we're seeing a 404, I suggest you investigate what's wrong with your routes.
Keep in mind that this URL should respond to both GET and POST requests.
来源:https://stackoverflow.com/questions/16870104/openid-redirect-not-working