StytchB2B::Client broken in 5.0.x
Closed this issue · 0 comments
modosc commented
/Users/jon/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/stytch-5.0.0/lib/stytch/b2b_client.rb:53:in `create_connection':
undefined method `basic_auth' for #<Faraday::Connection:0x000000011292a370 @parallel_manager=nil, @headers={"User-Agent"=>"Faraday v2.7.8"}, @params={}, @options=#<Faraday::RequestOptions (empty)>, @ssl=#<Faraday::SSLOptions (empty)>, @default_parallel_manager=nil, @manual_proxy=false, @builder=#<Faraday::RackBuilder:0x00000001129c6298 @adapter=Faraday::Adapter::NetHttp, @handlers=[Faraday::Request::Instrumentation]>, @url_prefix=#<URI::HTTPS https://test.stytch.com/>, @proxy=nil> (NoMethodError)
i think this change:
stytch-ruby/lib/stytch/client.rb
Line 61 in 5fd1916
needs to be applied here:
stytch-ruby/lib/stytch/b2b_client.rb
Line 53 in 5fd1916