logical-and / php-oauth

Support for authenticating users (without dep from any framework) using both OAuth1 and OAuth2 methods
https://packagist.org/packages/and/oauth
MIT License
43 stars 13 forks source link

Requesting a pull request on setting up the oauth parameters for Fitbit service. #52

Open jhnferraris opened 9 years ago

jhnferraris commented 9 years ago

The issue is that the maximum allowable oauth timestamp is 7 seconds behind when getting the timestamp using new DateTime(). I solved this by subtracting 7 seconds. I'm not really sure if this the right kind of fix. But input is highly appreciated.