A user can specifically authorize to join the site, like maybe have a "Signin with Twitter" button that would use JS Api to set the access token cookie. Right now when Anywhere UI displays the authorization prompt it really looks like user is authorizing the Application to get access to his account information. The application is then even shown on my "Connections" page in Twitter settings just like any other application that I have authorized using normal OAuth.
Basically it would be up to Twitter developers to make sure that the message on that UI popup explains that they are authorizing the application to access Twitter on their behalf. Right now if a user authorizes my app via Anywhere I can still get pretty much his account details via JS and then post it to my server in the background or even stuff all the data into cookie and pass it to server that way. The only difference right now is that my server cannot post to Twitter using user's credentials, but that's not a good practice to post to Twitter without user knowledge even if an app has the necessary oAuth credentials. On Aug 16, 3:39 pm, Taylor Singletary <[email protected]> wrote: > We'll have a means to exchange @Anywhere access tokens for OAuth 1.0 access > tokens soon. > > Little bit of devil's advocate for the community on this topic though: > - Do you think that when a user authorizes your site to use @Anywhere that > there is any implicit authorization that you should be able to exchange > those tokens for long-lasting OAuth 1.0A REST tokens without explicitly > indicating that you would do that? > > Taylor > > > > On Mon, Aug 16, 2010 at 12:36 PM, D. Smith <[email protected]> wrote: > > All I say is that if the 'twitter_anywhere_identity' cookie contained > > some type of token which could then be used on server side to get > > actual oauth token, that would be super cool. > > > That's exactly how Facebook does it in their JS API, I love it, it's > > much easier to use to the OAuth1 > > > On Aug 16, 3:29 pm, Taylor Singletary <[email protected]> > > wrote: > > > Hi there, > > > > @Anywhere does use some elements of OAuth2 for its authentication process > > > but we've yet to announce any timeline for any other support of OAuth2. > > > OAuth2 is a gaggle of authentication methods rolled into one, and we've > > yet > > > to decide which profiles we'll support. > > > > Taylor > > > > On Mon, Aug 16, 2010 at 12:22 PM, D. Smith <[email protected]> > > wrote: > > > > Hello! > > > > I looked at Twitter Anywhere API and it says the API will set the > > > > cookie 'twitter_anywhere_identity' under my sites' domain. > > > > This sounds like how the Facebook JS API is doing the OAuth2 > > > > authentication where I then read the value of that cookie on the > > > > server side and then request data from facebook using that access > > > > token. > > > > > Is this something that will be available soon on Twitter? I am using > > > > the OAuth right now but I find that cookie based OAuth2 is much easier > > > > to work with. > > > > > Do you already have this in beta? I would like to try it.
