7

Is there a de-facto solution for ASP.NET MVC 3+ one should use in case he needs to allow users to sign in/up via:

  • OpenID
  • OAuth
  • Trivial registration / manual authentication

?

What I'm basically looking for is "Membership API" that works for OpenID, OAuth and whatever else. Key features are:

  • Roles support (for ASP.NET MVC)
  • Ability to bind multiple auth methods to single user (for instance, somebody first signed up with "trivial registration", then he wants to bind his Google account and then his Yahoo account, so he should be able to auth with any of these 3)

Thanks!

2 Answers 2

7

DotNetOpenAuth is your friend.

See this blog post: OpenID Authentication with ASP.NET MVC3 , DotNetOpenAuth and OpenID-Selector

Also, you can see the official tutorial on ASP.NET MVC.

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

1 Comment

Last link is dead, but I think this is the new one: Creating an openid relying party (programatically). I never saw the old link when alive so I am not 100% sure on the new link.
4

Please visit this links:- you can find a good solution....

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

  2. And you can download code from the SocialAuth-net project and modify source code and implement. I have also done this, from here.

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.