How can I code the Open Id in my MVC Asp.net project?

I want to paste the code for Open Id. I cannot find an article based on this. Please help me. Give me a link to the article? Your articles help me a lot.

+2


source to share


2 answers


Check out OpenIdPortableArea . It provides a controller and views that already contain OpenId logic. All you have to do is register the scope with AreaRegistration.RegisterAllAreas()

and attach a message handler and you have access to the OpenId string that is returned to the user. Views are built in but can be overridden. See the documentation for details .

If you are not familiar with portable scopes, they are from MvcContrib . There are some good blog posts on how to get them. OpenIdPortableArea uses DotNetOpenAuth .



Otherwise, you can implement the logic yourself. Here's a great blog post on how to do this.

+4


source


Try to answer this question .



+2


source







All Articles