Login on site with other site creadentials in asp.net - asp.net-mvc-2

I have developed asp.net MVC social networking site. I do not want to keep credentials at my database. Its user choice like stackoverflow (this forum). When we saying login the there should be option that to login with google/yahoo/facebook credentials, if user has account over there. What I have to do? is there any webservice provided by sites (google/yahoo/facebook) or what is remedy over this ? this topic in totally new for me . I expecting help from you gems..

You could implement OpenID. DotNetOpenAuth is implementation for .NET.

Sounds like OpenId would work for you (click, and more).
Library's to use in your apps.

For Facebook you want to use Facebook Connect. There is an implementation for .net on codeplex that you may want to have a look at. You may also want to look at this question.
Google uses OpenId. You can use DotNetOpenAuth to connect to google (and any other OpenId provider, such as Yahoo and twitter).
If you want to connect with Microsoft's LiveId, you may want to read this tutorial.
EDIT
There is also the option of using JanRain, a single provider that consolidates a large number of login providers. But note that JanRain is only free up to 1000 users.

There are solutions that enable authentication and features (like status updates, friends etc) from all mentioned sites, one of them is RPX from JanRain. I've experience with RPX personally and it's a great product, however, it will cost you money. They charge you per registered user etc.. I do not know of an open source solution that can compete with RPX.
If you are not interested in paying for a product you can always implement support for the mentioned sites yourself. All of them provide open API's and examples for how to do this. For Facebook it's very easy to implement Facebook Connect. Google and Yahoo both support Open ID and there are plenty of open source resources available for .NET (like http://www.dotnetopenauth.net/).
Good luck with your community!

Related

Is it possible to build a client app that makes use of Facebook's private API?

I am not talking about the public graph api, i am asking is it technically possible to consume facebook's private api that facebook official apps use, and benifit from login/sign up and such features?
Like if i reverse engineered messenger or facebook app and mimic their communication with their API, whould i be able to build a working client?
Thank you.
There are existing projects that have already done the same.
Take a look at the works of dequis e.g. purple-facebook. He has also written tutorials on reverse-engineering the APIs of Facebook Messenger and WhatsApp.
Take a look at the source code of the Facebook protocol plugin of Miranda NG. They reverse-engineered the API used by the desktop web frontend of Facebook.
They exist for years. None of them have been sued so far. However, hiding your identity is recommended if you plan to do such things. Also you may want to open-source your project and host it on multiple sites. Corporate arrogance of tech companies is at very high levels nowadays.
Yes, it is theoretically possible.
However, remember that you will be easily sued if Facebook do not agree with what you're trying to do. For example, if you're trying to use their own private Intellectual Property without their permission, or if you violate their Terms of Service agreements (reverse-engineering is going to be in there without a doubt), then they can legally sue.
Facebook have public APIs with documentation which is what is intended to be used by developers. If you decide to ignore it and go digging into things which you do not own, nor have consent to access, you're going to land yourself into trouble.
I don't mean to be a kill-joy, I'm just saying how it is from a realistic point-of-view.

Best way to enable sign in to my website using Facebook, Twitter, LinkedIn, Google, Yahoo, etc.?

We're creating a new website and we want to simplify the sign in process. I see that a lot of sites let you sign in through Facebook, Twitter, etc..
We're looking for something that is fast, simple to implement, and cheap.
What's the best way to do it?
I've come across http://janrain.com and http://www.gigya.com. Any comments on them?
Also, general comments on the wisdom of doing this at all are welcome. Are there any downsides? Our website is a SAAS B2B-oriented site which aims to take a complicated, expensive software product and present it in a cheap, easy, and consumer-ish way.
Most of the websites you mentioned supports OpenID or OAuth.
OpenID providers: http://openid.net/get-an-openid/
Google and Yahoo are OpenID providers. Google, Twitter, Facebook and LinkedIn supports OAuth as well.
Understanding this, it is your business decision to rollout your own implementation base on available libraries (there are enough libraries to this job I believe) of your technology, or use some third-party service like http://janrain.com or http://gigya.com.
For me, I will prefer to use my own implementation as there is one less dependency and I like to control authentication process myself.
You might want to try the EmpowerID. It lets you federation your application with all the major identity providers including Facebook, Twitter, Salesforce, Yahoo, MSN Live etc. etc.

Single package to allow signing in with oauth through several social networks?

I'm looking for a way to allow users to sign in to my site using Twitter, Facebook, LinkedIn, and Google. A good example of a site that does this is Answers.com, on the homepage they have a set of buttons, and each button gives a simple pop up window to confirm the connection.
I know that I can implement each connection individually, but I want to know if there is a single package that provides all of this functionality for the different social networks.
Edit: I'm looking for a package in PHP.
Those sites, just like this one, implement OpenID or OAuth. So just do a search for OpenID PHP or OAuth PHP and you'll find a bunch of information. (I have not implemented either in PHP, but we are considering implementing OpenID in .NET.)

Any Google API in perl working with OAuth

I've looked at Net::Google, and 90% of the modules use AuthSub with a mandatory login/password. The right way for a web application to interact with Google applications on behalf of a customer is to use OAuth. That way, the authentication is done by Google, and the application does not know the user's password. This is supported by Net::Google::DocumentsList for example.
Are you aware of modules that can work well with Picasa and Blogger, for example, using OAuth. The current Net::Google::PicasaWeb handles read-only queries, no add/remove/update actions.
I noticed this blog entry with an example, http://blog.case.edu/jeremy.smith/2009/03/30/using_2legged_oauth_with_google_apps_in_perl, perhaps it will get you started.

Example of good login/registration integration with social networks and openid?

We are at the early stages of creating a new website, at the point where we need to build the login/registration module.
I want to be looking forward to the future, so I want to allow my users to register and login using all sorts of accounts, such as OpenID, Google, Facebook, Yahoo, etc ...
My users are not all tech savvy, do you have an example of a site that managed to successfully implement a user-friendly "universal" login system?
Thanks
https://stackoverflow.com/
:-)
The only confusing this is the box where you can type in any provider. (Dig that one away under an other heading).