it all comes down to being able to associate an action with an application. having a single API key would then require a user to unauthenticate all the applications they are using, rather than removing access to a single application. the inverse of this is that twitter then has the ability to tell a user "this application is the one that sent a DM from you without you knowing it" -- the user can then revoke access.
so, i would disagree that a single API key would cover all the security benefits of OAuth from the user's perspective. i will admit that that this is a hard problem, and this relies on an application keeping the tokens in a secure fashion -- however, there are still benefits over the current system of basic authorization. I still don't understand why Twitter doesn't just simply give each > user a unique 40-character API Key, which they can provide to an app > instead of their Twitter username and password. > > With that: > > a) The user's Twitter login credentials are not shared with anyone; > > b) The user can generate a new API Key, which immediately invalidates > access to all apps that don't have the new key; > > c) Changing the Twitter username and password does not break existing > app access; > > d) It's practically impossible to brute-force a 40-character key. > > It covers all the security benefits of OAuth from the user's > perspective. The only downside would be Twitter's control over > applications that they would gain with OAuth. > -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
