Closed JeremyC-za closed 1 year ago
Faraday is not being forced above 1.x. If you are not ready to upgrade to Faraday 2.x you could overwrite the disconnect
method to use the old authentication helper method basic_auth
.
f.basic_auth(oauth.client.id, oauth.client.secret)
Monkey patching the gem is a workaround, but not a solution. If the gem isn't going to require Faraday 2.x, then it should handle using both instead of erroring when using an allowed dependency.
@JeremyC-za this has been fixed in the 2.0.1 release :+1:
Hey, as the title says, calling
Service::AccessToken#disconnect
results in an exception.This only happens in in the 2.0 release, it works as expected in 1.0.21. The error seems to come from Faraday, which has me looking at this recent commit.
Here's the full trace: