oauth

REST authentication internal project (iPhone to grails app) using 2 legged oauth?

Hi, I'm creating an iPhone project, and will be communicating with a server via REST. I will be sending push notifications, initiated from another service. I would like to authenticate all communication from the iPhone to my server (e.g., synchronising notifications with the server as the push request is not guaranteed to go through) ...

Twitter OAuth Request Token Using Grackle

I am currently trying to use the Grackle Ruby GEM to integrate with the Twitter API, but I have encountered a little snag. I am attempting to perform a GET to twitter.com/oauth/request_token, but according to the OAuth spec I need to provide the following values: oauth_consumer_key oauth_signature_method oauth_signature oauth_timestam...

oauth problem( app engine)

hi i am trying to pull user's documents data from google docs using oauth, but i cannot understand how to do it - what's the purpose of oauth_verifier - how to get the access token secret? - if i try to use DocsService below, then i have a "server error" - is there a clear tutorial for this? i cannot find any atm.. String oauth_ver...

What is the function of Twitter's verify credentials API ?

I just implemented sign in with twitter for my webapp. At the end of the OAuth 3-legged flow, I needed to retrieve the screenname & avatar pic for the user. All I had was the twitterid e.g. 3546735 So I performed a GET http://twitter.com/users/show/3546735.json No security is required for this method, although it is rate-limited. Recen...

Problem with posting the message using php

...

Getting a myriad of socket issues while writing desktop Python bot.

The issue stems from the OAuth authentication portion of my code. I truncated a bunch of it and cut at the part where I get my error. My specific error is "gaierror: (11001, 'getaddrinfo failed'". I really have no idea why. I'm using Leah Culver's OAuth library (http://oauth.googlecode.com/svn/code/python/oauth/). Pretty much following t...

How to get Google Contacts information using Google OAuth?

I am new to OAuth, and want to create a page that gets the user's contact list from Google using the OAuth system so they don't have to login. How do I do this? I am using php, so I would really appreciate if there is example code that does this. I can't seem to find it on Google. Please help! Thanks ...

Twitter's access tokens are not opaque.

Referring to this old april 2009 thread at twitter-dev; I am currently extracting the twitterid from the access token. The thread says that twitter will soon move to provide the twitterid & screenname to the callback url directly but as of today, that is still not the case. Are you still extracting the twitterid from the access token ? I...

oauth and userid

hi, i am very confused, once i get the access token from google to access user contacts, how do I associate that user with that token again in the future? many thanks ...

How to test the twitter API locally?

I'm trying to write a web application that would use Twitter via OAuth. 1) I run my local server as 'localhost', so I need the callback URL to be something like http://localhost/something/twitter.do but Twitter doesn't like that: Not a valid URL format 2) I'm probably going to do a lot of tests, but once I've approved my app with my u...

Web UI to a restful interface, good idea?

I am working on a experimental website (which is accessible through web browser) that will act as a front-end to a restful interface (a sub-system). The website will serve as an interface between a user and the restful interface, as it will make http requests to the restful interface for almost all database operations. Authentication wil...

How to keep RoleProvider from overriding custom roles?

I have an custom role provider that gets the roles a user belongs to from a database. I also have a custom authentication module registered in my web.config's httpModules which sniffs incoming HTTP requests and (if it's an OAuth signed request) sets the HttpContext.Current.User property to impersonate the user, and the IPrincipal that i...

twitter status update using tweetsharp oauth preview 17.

I am trying to update the status using tweetsharp oauth preview 17. Please let me know how ?. I tried this code var msg = FluentTwitter.CreateRequest() .AuthenticateWith(_consumerKey, _consumerSecret, Session["token"].ToString(), Session["tokensecret"].ToString()) .Statuses().Update("Hi"); but didn't ...

Library for OAuth Consumer (Java)

Hi, I'm looking for a Java library that helps me building an OAuth Consumer. I must be able to receive OAuth signed requests and determine whether they are valid or not (checking the signature, timestamp and nonce values). Do you know if there's something out there that makes this task easier? thanks a ton! ...

Is Piston ready for OAuth?

I tried using Piston for a simple API, hoping to use its OAuth support. But the first time I hit the endpoint after enabling OAuth, I got an error: TemplateDoesNotExist: oauth/challenge.html and sure enough, there is no such file. Does OAuth work in Piston? Am I making a stupid n00b mistake? ...

Ruby & Datamapper checking if a record exists, and where?

I have a basic Ruby app that I am building with Sinatra, Datamapper and has user authentication using OAuth. When I receive the data back from the Oauth service, I save a record of a new user in an sqlite3 db. What I don't know how to do is how to go about verifying the user record doesn't already exist on the user database table. I ca...

OAuts with Signpost - how to sign POST to get Access token

I'm working with client who provided me with somewhat vague instructions. Here's what I'm doing (using CommonsHttpOAuthConsumer as consumer and DefaultOAuthProvider as provider) I'm able to get response token from doing this: String requestToken = provider.retrieveRequestToken (OAuth.OUT_OF_BAND); this is in form of URL with params ...

Cannot get Twitter-OAuth-iPhone to work

Hi, demo works as expected, no problems. But now I'm trying to integrate it into my project. I use no xib-s, code only: OAuthTwitterDemoViewController *vc = [[OAuthTwitterDemoViewController alloc] init]; [[UIApplication sharedApplication].keyWindow addSubview:vc.view]; [vc release]; it compiles and runs with no errors, but the actual ...

Programmatically change gmail status via OAuth or Authsub

I would like my application to programmatically update my user's gmail/google talk status on their behalf but I dont want to store their password because of the privacy risk Does anyone know if/how it is possible to use Oauth or some other form of authentication that does not require password storage. The Google data api docs I have s...

Using Google's Contacts API's, how can I get the user's name and gmail address?

I know how to get the entire contacts list using Google Contacts API (I get a session token and use Google's Zend package for PHP). But how can I get the person's name and email address? Currently, the Contacts API just seems to give all of the contacts. I'm not sure how to distinguish which email and name out of that list corresponds t...