TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OAuth is a pain to use for desktop applications

10 pointsby ownedthxabout 16 years ago

4 comments

benburkertabout 16 years ago
I'm not sure the author understands the benefit of OAuth. here's an analogy:<p>First, let's assume that the end user uses the same username/password combination for every website, which is quite common. Also, assume that twitter and your server accept the username/password combination as a basic auth encoded string. What you have, in OAuth terms, is a universally acceptable auth token, without the shared secret (similar to an unsalted password hash). Anyone in possession of this token can access any resource on any website as the end user (assuming they have a single username/password everywhere).<p>So OAuth allows you to take this universal token (or at least the information contained in this token: username/pass), and generate a new access token which can only access a limited resource for a given service, sometimes for a limited period of time. Also, it has a shared secret, so it's harder to abuse.<p>For the end user, it's actually much safer to keep the access token &#38; secret locally vs. making them login to your central service with a username/password. If the username/password gets out, they no longer control their identity online. If the access token/secret gets out, they no longer control the resource.
评论 #602677 未加载
seldoabout 16 years ago
This could be easily simplified to "OAuth is a pain to use". Bouncing the user back and forth between consumer and publisher of the OAuth key is too long, too complicated, and too confusing for use by the average consumer.
评论 #602776 未加载
woosterabout 16 years ago
"You put it on a server, because it’s the only place you can ensure that it stays safe."<p>Uh, what? If on OS X or iPhone, use Keychain. If on something else, do whatever makes sense there. There's really no need to stick it on your server, that I can see.<p>If the user loses it, you just generate a new one, right?
评论 #603008 未加载
psanfordabout 16 years ago
What about open source apps. Do you force your users to register for their own consumer key just to use your application?