Business - Written by Alan Majer on Wednesday, February 11, 2009 9:36 - 0 Comments
Twitter as the basis of an open login scheme
Everyone hates juggling usernames and passwords. So all the great activity around OpenID, Facebook Connect, and more recently OpenID and facebook – all which suggest that mainstream use of open web authentication schemes are reaching critical mass.
I like the idea, a lot. However, I think it’s a bit early to bet on one horse – so why not add more to the mix. I like twitter’s generally open approach, so why can’t they play in this space.
So, here’s a proposal on how anyone can use twitter as an open authentication scheme to log into their site:
The first step is a login page (screenshot below) which gives you a unique one-time authentication key that is used to identify your session. In this example the one-time code is “82kjx_OneTimeAccessCode_IeZh9els” and it is designed to be tweeted (probably best to DM) to the web site owner’s account (”SiteTwitterName”in this case). By DM’ing the one-time code to the site owner you link your session to a specific twitter account, and by DM’ing it, you provide proof that you own that twitter account. To make this easier to tweet, you could add a “copy to clipboard link”, or “tweet to login” button/link which would automatically prepopulate the tweet in a browser window (see next screenshot).
Below is a sample of what the page might look like after you click the “tweet this to login” button. You can imagine the button creating a popup window like this (if the browser allows popup windows). On twitter, it’s easy to prepopulate a page with a ready-to-tweet message like this. Just open a page with the URL:
http://twitter.com/home/?status=d%20SiteTwitterName%2082kjx_OneTimeAccessCode_leZh9els
And that link should give you a page similar to the one below:

Then, once you send the DM through twitter. The website can use the twitter API to read the DM and then make a connection between your twitter ID and the unique session key in order to authenticate you. At that point, your original login page can be refreshed, logging you in automatically. Voila, you are logged into a website using your twitterID as the account name:
A login scheme like this would work with twitter, but equally well with any messaging or IM service that’s sufficiently quick and also has an API. One of the best things about it is that it doesn’t require any endorsement of the service provider in order to use it for authentication either. You can even imagine doing this via a mobile phone too (either through cameraphone image, QR code (discussed here and here), IVR, OCR, or even a “sound” produced by the website that you could hold your phone up to).
Any suggestions about holes or problems with this scheme that I may be missing? Or ideas for improvements?
If anyone would like to implement the first working demo of this scheme it would be a great contribution to the public good. I’d love to credit you with it here. Happy to share any demo code for it too if you wish.
…please contact me via twitter @crasheral if you would like to help kickstart this.
Browse Content
- The iPhone, growing up digital, and my daughter's education
- Playbor: When work and fun coincide
- Lessons in collaboration from B.B. King’s
- A decade of frustration ahead?
- Games, user experience, and retroactive Continuity--All enabled by platforms
- Survey: How prepared is the enterprise to lead in the age of unbounded data?
- When you ask customers to dance, let them lead
- Real world examples for collaboration ROI
- Will you use Target's mobile coupons?
- Mobile platform magic: Five things executives must know about mobility
- Addressing the social media ‘support gap’
- On unintended consequences
- Mobile platform magic: Five things executives must know about mobility
- Will you use Target’s mobile coupons?
- Lessons in collaboration from B.B. King’s
- Games, user experience, and retroactive Continuity–All enabled by platforms
- Survey: How prepared is the enterprise to lead in the age of unbounded data?
- A decade of frustration ahead?
- The iPhone, growing up digital, and my daughter’s education
- Real world examples for collaboration ROI
- Playbor: When work and fun coincide
- farmville is the best game ever and this is the best blog post!...
- Physicians are totally antiquated in their use of the computer. Its funny - a r...
- Great list of questions, Laura. Check out this post by someone who signed up for...
- Not everybody will have read Malthus. And the the title heading of this post app...
- Given the numbers not connected properly, there's continuous digital divide....
- Quite possibly....
- Due to global financial crisis companies and individuals are affected. Many work...
- Good post Naumi,
I like how you relate the jazz band performance to customer ...
Business - Mar 19, 2010 16:57 - 0 Comments
Addressing the social media ‘support gap’
More In Business
- Mobile platform magic: Five things executives must know about mobility
- Will you use Target’s mobile coupons?
- Games, user experience, and retroactive Continuity–All enabled by platforms
- Survey: How prepared is the enterprise to lead in the age of unbounded data?
- Real world examples for collaboration ROI
Entertainment - Mar 9, 2010 16:58 - 3 Comments
Lessons in collaboration from B.B. King’s
More In Entertainment
- CL!CK – LEGO’s fun social product development platform
- Peer Pressure 2.0: Farmville
- Online gaming more than just fun
- The NFL – The most protective league, attempting to control the uncontrollable
- The rise of computational photography and the birth of camera 2.0




Leave a Reply