oauth

Difference between Claims vs OAuth

What is the difference between Claims based authentication vs What is provided by OAuth. I am looking for conceptual difference and not technical difference. When do I choose Claims over OAuth and vice versa. Claims based authentication is proposed by Microsoft and build on top of WS-Security. But OAuth is more a open source protocol t...

Twitter xAuth vs open source

Hi I am developing an open source desktop twitter client. I would like to take advantage on the new xAuth authentication method, however my app is open source which means that if I put the keys directly into the source file, it may be a vulnerability (am I correct? The twitter support guy told me). On the other hand, putting the key di...

Integrating twitpic OAuth for iPhone.

How can I integrate twitpic API with OAuth for posting an image from iPhone? Any help or tutorial? Currently I am doing... NSURL *twitpicURL = [NSURL URLWithString:@"http://api.twitpic.com/2/upload.format"]; theRequest = [NSMutableURLRequest requestWithURL:twitpicURL]; [theRequest setHTTPMethod:@"POST"]; // Set the ...

How do I alter the Epitwitter scripts to post to twitter from a web form?

Hello, I am trying to update my twitter status with php and outh using the Epitwitter scripts. The following is the textarea of the web form I created to allow me to update twitter. <textarea name="updatestatus" cols="50" rows="4" id="updatestatus"> </textarea> Do I change this line in my confirm.php script from $status = 'Testing ...

getRequestProperty("Authorization") always returns null

I am trying to read the authorization header for an HTTP request (because I need to add something to it), but I always get null for the header value. Other headers work fine. public void testAuth() throws MalformedURLException, IOException{ URLConnection request = new URL("http://google.com").openConnection(); request.setRequest...

Implementing oAuth with DNN

I have to implement oAuth with DNN. How should i proceed? Should I use the existing oAuth libraries and just create a new provider for oAuth authentication or should i proceed otherwise? ...

Facebook Graph API authentication in canvas app and track session

Short question is: how can i use graph api oauth redirects mechanism to authenticate user and save retrieved access_token and also use javascript SDK when needed (the problem is javascript SDK will have different access_token when initialized). I have initially setup my facebook iframe canvas app, with single sign on. This works well wi...

Twitter Oauth Strategy with Warden + Devise Authentication Gems for Ruby

Devise, the authentication gem for Ruby based on Warden (another auth gem) does not support Twitter Oauth as an authentication strategy, BUT Warden does. There is a way to use the Warden Twitter Oauth strategy within Devise, but I cannot figure it out. I'm using the following block in the devise config file: config.warden do |manager...

can set 127.0.0.1 to website on Twitter Application settings

i set: Website:http://127.0.0.1:8085/ Callback URL :http://127.0.0.1:8085/ is this be permited , thanks ...

Authenticating / Authorising FB IFrame Application

Hi all, This is all too confusing for me at the moment. I seem to be going in circles. So here is my situation and my questions. I have an IFrame Application that needs to pretty much just run on the Canvas page. In this App, I wish to access certain user data (which I believe are beyond the normal set of permissions, thus requiring ex...

dotnetopenauth: where are the web samples

I downloaded dotnetopenauth last week and I have seen people mention the samples, but all I see is a desktop sample. Where would I find a web/asp.net sample? Sad, I don't know if I should post another question, but I really meant the linq2twitter web samples. ...

401 Unauthorized using oauth with twitter on iPhone

I use Twitter-OAuth-iPhone. http://github.com/bengottlieb/Twitter-OAuth-iPhone/ when i try to login on twitter with SA_OAuthTwitterEngine, I received an error 401 i received the delegate call for - (void) OAuthTwitterController: (SA_OAuthTwitterController *) controller authenticatedWithUsername: (NSString *) username { but when i tr...

OAuth 2.0: Can a user-agent (client) avoid forwarding fragments?

In the OAuth 2.0 draft specification, user-agent clients receive authorization in the form of a bearer token via redirection (from an authentication server) to a URL such as HTTP/1.1 302 Found Location: http://example.com/rd#access_token=FJQbwq9&amp;expires_in=3600 According to Section 3.5.2 it is then the user-agent's job to GET the ...

is there a twitter user login framework for gae

I want to someone to be able to login using twitter, Is there a framework that you have used to do this? Thanks ...

mgtwitterengine and oauth 401 error: Boggled

OK... so here is my code: twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self]; [twitterEngine setConsumerKey:CONSUMER_KEY secret:CONSUMER_SECRET]; accessToken = [twitterEngine getXAuthAccessTokenForUsername:profile.twitterUserId password:profile.twitterPassword]; NSLog(@"Access token: %@", accessToken); the...

iPhone Face book sample code with oauth

Hi All, Is there any sample code for iphone to work with facebook using Oauth protocol. Thanks in advance Sathish ...

Hello World to Twitter from C#

A few days ago, I posted this question and this question asking about how to post "Hello World" to twitter. I've gotten helpful responses, which have propelled me further along, but I'm still lost. I need to use OAuth because (as I read it) using username and password is going to be deprecated soon. I need an example as simple as upda...

Twitter API + OAuth - 401 error developing locally using reverse SSH tunnel

I'm developing a django application which lets users connect their Twitter account. As I'm developing locally, I have set up a reverse SSH tunnel so that the Twitter API has a valid callback url (myserver.net): ssh -nNTR :6969:localhost:8000 myserver.net On successful authentication, Twitter passes back its OAuth access tokens to mys...

Why does an authorized OAuth request token need to be exchanged for an access token?

I'm wondering what the reasons are for OAuth to require a round-trip to the data provider to exchange an authorized request token for an access token. My understanding of the OAuth workflow is: Requesting site (consumer) gets a request token from the data provider site (service provider). Requesting site asks the data provider site to...

Twitter Oauth Issue

I'm using a few different gems here (Devise, Warden, Warden_Oauth), but I think you could answer this question without necessarily being familiar with them. I'm trying to execute a Twitter Oauth strategy, where the app first looks for a user by an access_token and access_secret, and then if it doesn't find one, it creates a new user. I c...