Skip to content

Requires Changes to Work with Faraday 2 Basic Auth Interface Change #64

@GuruKhalsa

Description

@GuruKhalsa

The gem dependencies seem to indicate that this gem would work with Faraday 2, but there were basic auth interface changes that don't seem to be accounted for.

In Faraday 1 (which is the interface the gem is currently using) basic auth looks like:

Faraday.new(...) do |conn|
  conn.request :basic_auth, 'username', 'password'
end

And in Faraday 2:

Faraday.new(...) do |conn|
  conn.request :authorization, :basic, 'username', 'password'
end

Reference: https://github.com/lostisland/faraday/blob/v2.12.0/docs/middleware/included/authentication.md?plain=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions