No description provided.
Prevent oauth2 from interpreting Facebook's expires field as expires_…
…in, when it's really expires_at
Add initialization option :always_refresh_access_token
Thanks, good catch on the OAuth2 field. If you can add a spec for that, I will merge.
Could you describe the scenario where you're using the always_refresh_access_token option?
This seems related to #40.
Also, perhaps it may be worth considering the option of exchanging the short-lived token vs. obtaining a new one:
The outcome may be the same, but the exchange mechanism seems to be what FB suggest.
Add spec to ensure correct expiry on OAuth2::AccessToken
Revert "Add initialization option :always_refresh_access_token"
This reverts commit 3b4b33b.
You're quite right the initialization option pertains to #40. Will add further comments there. Added spec as requested.