oauth2 now defaults to sending client_id and secret using Basic Auth headers, instead of the request body as before. Twitch expects the client_id in the body so this PR sets auth_scheme to request_body, which was the default before v2.
This fixes #20.
I would also be interested in taking over this gem.
The
oauth2
gem has recently been updated with a breaking change that impacts this strategy: https://github.com/oauth-xx/oauth2/pull/312oauth2
now defaults to sending client_id and secret using Basic Auth headers, instead of the request body as before. Twitch expects the client_id in the body so this PR setsauth_scheme
torequest_body
, which was the default before v2.This fixes #20.
I would also be interested in taking over this gem.