4

Is there a simple example of OpenID authentication implemented using MVC ?

1
  • Darin Dimitri have answer this question beautifully here! Commented Nov 17, 2011 at 4:27

5 Answers 5

5

DotNetOpenAuth. You can also take a look at this blog post from Scott Hanselman.

Sign up to request clarification or add additional context in comments.

Comments

1

RPX is yet another OpenID library.

Authenticating users with RPXNow (in ASP.NET MVC)

2 Comments

And advantage over DotNetOpenAuth?
RPX is include OpenID selector.
1

You cant get much simpler than this:

I just installed dotnetopenauth through nuget to a new project (forms authentication included), and then followed this tutorial which is pasting 3 small chunks of code and it worked.

http://andrewblogs.com/blog/openid-for-asp-net-mvc-a-quick-setup/

Comments

0

I know a im a bit late but look here http://nuget.org/packages/SimpleID Now i haven't tried it but it seems like the fastest solution and its based on DotNetOpenAuth

Comments

0

Here is a complete step by step article how to add OpenID authentication to ASP.NET MVC 3 application. It shows how to combine OpenID with stanard FormAusthenication model, so you can use either e-mail/password or OpenID.

Complete solution code is available. It worked for me with some minor tweaking to get user's e-mail, first and last name in addition to OpenID :-)

OpenID Authentication with ASP.NET MVC3 , DotNetOpenAuth and OpenID-Selector

http://weblogs.asp.net/haithamkhedre/archive/2011/03/13/openid-authentication-with-asp-net-mvc3-dotnetopenauth-and-openid-selector.aspx

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.