Hi all,

Sorry I'm still not understanding - I'm using the client java library
from this project out of the box. So it seems to send across a
timestamp taken from the system clock, which reflects whatever time
zone the user's device is set to. What are my options in this case?
One is to tell all my clients to change their device timezones to be
in sync with my server's (not going to happen), the other is to modify
the timestamp my clients send across using the client OAuth library,
but I don't see where to do that. I'm using these classes:

  OAuthConsumer
  OAuthAccessor
  OAuthClient

is there a method in any of those to forcibly set the timestamp which
is sent so I can make sure it's something within acceptable params?

Thanks

On Feb 26, 11:50 am, Vinod facebook <vinod.faceb...@gmail.com> wrote:
> Yes, even I faced timestamp validation issues initially and when I changed
> my clock settings, it began to work fine.
>
>
>
> On Fri, Feb 26, 2010 at 3:49 AM, John Kristian <jmkrist...@gmail.com> wrote:
> > The oauth_timestamp has no time zone; it's implicitly Universal Time
> > (also known as GMT). But OAuth service providers usually require
> > consumers' clocks to be fairly accurate.
>
> > You could try implementing your client to adapt to the server's clock.
> > It could look at the Date in the HTTP response headers, or the
> > oauth_acceptable_timestamps in the response body.
>
> > On Feb 21, 7:38 am, Mark <mar...@gmail.com> wrote:
> > > Hi Vinod, I don't understand this though - the PC requesting the oauth
> > > service is just a regular user - I can't expect them to have their
> > > timezone set to be the same as the server? The server is using eastern
> > > standard time. There must be some way around this issue, otherwise all
> > > oauth services would require their client clocks to also be in EST?
> > > For example, I can make my timezone anything and it still works with
> > > twitter oauth services - so is the twitter service just ignoring this
> > > timestamp restriction?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "OAuth" group.
> > To post to this group, send email to oa...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > oauth+unsubscr...@googlegroups.com <oauth%2bunsubscr...@googlegroups.com>.
> > For more options, visit this group at
> >http://groups.google.com/group/oauth?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to