fernandezpablo85/scribe-java — Issue #183: Oauth timestamp issues using Scribe with YahooAPI
Author: derryos
Created: 2011-10-25 09:29:09+00:00
State: open

Hi,

I'm having issues connecting to Yahoo Oauth and am receiving the dreaded:

Please provide valid credentials. OAuth oauth_problem="timestamp_refused", realm="yahooapis.com"

I understand that this is due to their being am (either 5/10/60 minutes) + difference between client and server times. We are developing this app on Android which uses scribe to connect to various providers and due to issues with Android/timekeeping, we cannot guarantee that the clock time will be inside the correct window:
http://code.google.com/p/android/issues/detail?id=18681
http://code.google.com/p/android/issues/detail?id=4581

Is it possible to set the timestamp (synced off an NTP like service?) of the oauth request? I've tried adding it as an OauthParameter and that did not work. Is the alternative syncing via my own TimestampService?

Many thanks,

Derry