No - they don't log in before I request authorization. I get their
access token without having any idea who they are.
That's what I'm trying to avoid - I don't want to have any login stuff
on my side so the login is as easy as possible.
Cool - yeah sorry about that. I meant to say the next time they try to
access their account.
It'd be even better if there were another level of OAuth permissions -
"authorization only" - which just lets you log in using the account,
and only lets you call verify_credentials.
Am I the only one that thinks this could be really cool? What are the
downsides?
..or am I missing something?
-Chad
Won't have "read only access" accomplish this? You can check
verify_credentials and never check anything else... but the OAuth
login flow remains the same..
..or am I missing something?
-Chad
That said, it would be interesting to see Twitter be an OpenID provider.
OAuth is a delegation API, it will never have support for Authentication
only (authentication is verifying identity, authorization is validating
access to some resource based on that identity). That is the job of
OpenID and is a service much better provided for by OpenID.
If you don't have a database storing the access tokens or indefinite
sessions on your webserver storing them, then the user will have to
login everytime. There's no way to get an access token without users
going through the OAuth detour.
-Chad
I guess that would work if the user is already logged into twitter's
website and has an active cookie/session going on... but what if they
want to login as another user? The auto-callback wouldn't let them do
that... They'd have to log out of twitter's website first, but how
would they be informed to do that?
-Chad