{"comment":{"created_at":"2011-10-25T19:32:54Z","body":"Well the device that we are looking at is almost 55mins off - ntp or something similar would reduce it to at least seconds.\r\nI know that linkedin is 5-10 minutes of a timestamp window so i'm thinking yahoo is pretty similar! The online recommendation is to have your timestamp window split pretty low: (http://www.adayinthelifeof.nl/2010/12/16/oauth-timestamps-and-nonces/)\r\n\r\nI've actually evaded the problem in a quick way by proxying the request via a server (which i control the time of!). I was really wondering if i could do something like implement my own TimestampService which does NTP (e.g. go to pool.ntp.org, get timestamp and set in request). Linkedin also has a 'ping' like request which allows you to get their timestamp.\r\n\r\nThanks for getting back so quick...and for the help (and for scribe!)","updated_at":"2011-10-25T19:32:54Z","url":"https://api.github.com/repos/fernandezpablo85/scribe-java/issues/comments/2521843","id":2521843,"user":{"avatar_url":"https://secure.gravatar.com/avatar/99eba006c2238e04e98e153106604be9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"99eba006c2238e04e98e153106604be9","url":"https://api.github.com/users/derryos","id":1150305,"login":"derryos"}},"action":"created","issue":{"number":183,"created_at":"2011-10-25T09:29:09Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi,\r\n\r\nI'm having issues connecting to Yahoo Oauth and am receiving the dreaded:\r\n<?xml version='1.0' encoding='UTF-8'?>\r\n<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'\r\n  xml:lang='en-US'>\r\n  <yahoo:description>Please provide valid credentials. OAuth oauth_problem=\"timestamp_refused\", realm=\"yahooapis.com\"</yahoo:description>\r\n</yahoo:error>\r\n\r\nI 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:\r\nhttp://code.google.com/p/android/issues/detail?id=18681\r\nhttp://code.google.com/p/android/issues/detail?id=4581\r\n\r\nIs 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?\r\n\r\nMany thanks,\r\n\r\nDerry\r\n\r\n","comments":5,"title":"Oauth timestamp issues using Scribe with YahooAPI","updated_at":"2011-10-25T19:32:54Z","url":"https://api.github.com/repos/fernandezpablo85/scribe-java/issues/183","id":2043127,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/99eba006c2238e04e98e153106604be9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"99eba006c2238e04e98e153106604be9","url":"https://api.github.com/users/derryos","id":1150305,"login":"derryos"},"html_url":"https://github.com/fernandezpablo85/scribe-java/issues/183","labels":[],"state":"open"},"legacy":{"issue_id":2043127,"comment_id":2521843}}