Globe_48x48

OAuth Issue

Subscribe to OAuth Issue 11 post(s), 6 voice(s)
Voices: clayton_spencer, cachapa, mmydland, grkg8tr, stephenb, and dave718

Jan 31, 2011 5:06am

clayton_spencer clayton_spencer
3 posts

Hi trying to get my application using Dailyburn via OAuth, I have my key and secret and am trying to use two of the libraries that you have linked to on the API Documentation page (DotNetOpenAuth and OAuth.Net) both I am getting 401 Unauthorized.

the HTTP POST I sent to /api/oauth/request_token has content:
oauth_callback=http%3A%2F%2Flocalhost%3A59721%2FSampleWcf.aspx&oauth_consumer_key=xxxxxxxxxxxxxxxxxxx&oauth_nonce=zM3ItGal&oauth_signature_method=HMAC-SHA1&oauth_signature=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy&oauth_version=1.0&oauth_timestamp=1296475062&scope=

the reponse I get back is:
Status: 401 Unauthorized
_dailyburn_session=BAh7BzoPc2Vzc2lvbl9pZCIlZmJkMGRlM2IwYzgwOTdlYTNkMmE5MDkwNzJhYjQ1ODQ6FGFiaW5nb19pZGVudGl0eSIPODc5Mjg2Njk0OA%3D%3D—d0993b5470d76ab2e9189a7e67758ee9307bb3a9; path=/; expires=Fri, 31-Jan-2014 11:58:35 GMT; HttpOnly
Invalid OAuth Request

any help would be great

 
Jan 31, 2011 8:24am

cachapa cachapa
72 posts

5 Kg of literature

I also started having problems today, and I’m getting reports from my users with the same problem.

My app has been working fine with the DB API for a long time now, so I suspect that the problem is on DB’s side.

Here’s hoping there’s a quick resolution to this. I wanted to update the app to a new version soon, but I’d prefer to have all features working when I do so :-)

 
Jan 31, 2011 9:36am

mmydland mmydland
2 posts

I Burned 50K Calories!

Same here everything was working fine until a couple of days ago then I started getting auth errors.

 
Jan 31, 2011 12:07pm

clayton_spencer clayton_spencer
3 posts

magically it is now working again, no change to any code on my side. thanks for fixing

 
Feb 4, 2011 3:38am

cachapa cachapa
72 posts

5 Kg of literature

And now it’s back to not working.
No official response on this?

 
Feb 4, 2011 6:15am

grkg8tr grkg8tr
35 posts

I’m having the exact same issue. Users are getting upset when my app doesn’t work on startup. I’ll send an email to DailyBurn to notify them of this thread. Hopefully it was just a minor change to something which they forgot to post on here or the API documentation.

 
Feb 4, 2011 7:53am

stephenb stephenb
1260 posts
Staff

I Lost 5 Lbs! I Burned 25K Calories! I Burned 5,000 Calories!

Hey everyone… sorry about the delay on this. We’ve been scrambling the past couple of weeks trying to solve various scaling issues, one of which includes our Oauth provider code.

We’ve found what was most likely breaking Oauth for most of you and just deployed a fix. Please try again and let us know if you’re still having problems. Thanks!

 
Feb 4, 2011 9:53am

cachapa cachapa
72 posts

5 Kg of literature

It’s working again here.
Thanks for the feedback.

 
Feb 4, 2011 10:50am

stephenb stephenb
1260 posts
Staff

I Lost 5 Lbs! I Burned 25K Calories! I Burned 5,000 Calories!

Awesome.

 
Feb 5, 2011 1:52pm

clayton_spencer clayton_spencer
3 posts

could I ask what version of OAuth you site uses as I’m having trouble using one of the Open Source .Net implementations. I get the login and the authorize page but don’t get back the oauth_verifier. The code I beleive works for 1.0 and 1.0a

 
Jun 20, 2011 6:54pm

dave718 dave718
13 posts

I Did 1,000 Pushups! I Lost 10% I Lost 5% I Lost 10 Lbs! I Lost 5 Lbs!

I’m trying to get the Dailyburn API to work with Google Apps Scripts, but it looks like Google requires an oauth_verifier parameter to be returned (not just oauth_token). I’m not an OAuth expert, but it looks like maybe this is a distinction between 1.0 and 1.0a?

The callback url for Google Apps Scripts should be http://spreadsheets.google.com/macros – works with Twitter OAuth (the example they give).

http://code.google.com/apis/accounts/docs/OAuth…


Login to Reply