BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-22-2008, 11:25 AM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default OAUTH - working on sim not on phone

Please Login to Remove!

Hi I'm working to integrate my BB app with an API that use OAUTH. It's working fine on my desktop/simulator, but on the phone itself I get a 400 response as soon as I request the initial token. I've looked at the parameters and things all look the same.

I know this is a vague question, but any ideas on how to debug this further?
__________________
theSUGGESTR.com | BB on Fire
Offline  
Old 11-23-2008, 08:36 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

If anyone is curious, I figured out the issue has something to do with the Authentication header (and only the Authentication header) being stripped. Can't seem to understand why.

However switching to passing the oAuth info via the POST body fixed my issue. Would love to know more about the disappearing authentication header if anyone knows about it.
__________________
theSUGGESTR.com | BB on Fire
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.