Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Twitter as the Login for a Website

We are developing an asp.net 2.0 web application in that user can sign-up or sign-in using twitter account.

when the user click on the twitter button, it should take you to the twitter login page. after your login is successful twitter should able to forward me back to my page webpage.

Please let me know.

eg. twitter

like image 957
vamsivanka Avatar asked Aug 25 '09 18:08

vamsivanka


1 Answers

For this you use Twitter's OAuth authentication framework. It's used so that users don't have to directly enter their user + password into your site. (I assume you know how the front-end to that works already.)

You can use this little example to use OAuth from .NET - it is built for ASP.NET. (The demo the guy provides is My Tweeple.)

like image 76
Lucas Jones Avatar answered Nov 11 '22 13:11

Lucas Jones