nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

Bugfix for Fitbit OAuth problem #208

Closed falkobuttler closed 8 years ago

falkobuttler commented 8 years ago

Fitbit OAuth2 flow requires authorization headers for all requests. Currently, OAuth2Client doesn't sign all requests and also doesn't use custom headers being provided.

This fix is backwards compatible and doesn't change behavior unless custom headers have been set.