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

Handle basic auth using the syntax appropiate to the Faraday version #232

Merged
merged 1 commit into from Feb 11, 2022

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Feb 11, 2022

Addresses some deprecation warnings in Faraday 1.x, and makes requests with basic auth work with Faraday 2.x:

WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:basic_auth, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.

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

Successfully merging this pull request may close these issues.

None yet

2 participants