Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GuruKhalsa opened this issue Dec 6, 2024 · 1 comment
Open

Comments

@GuruKhalsa
Copy link

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

@GuruKhalsa GuruKhalsa changed the title Doesn't Work with Faraday 2 Auth Paradigm Requires Changes to Work with Faraday 2 Basic Auth Interface Change Dec 6, 2024
@AlvaroMaceda
Copy link
Collaborator

Thanks, GuruKhalsa. I'm sorry, but I currently don't have time to maintain the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants