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

HTTPoison needs to be updated to be compatible with AuthPlug #98

Closed
ccarvalho-eng opened this issue May 22, 2023 · 4 comments
Closed

HTTPoison needs to be updated to be compatible with AuthPlug #98

ccarvalho-eng opened this issue May 22, 2023 · 4 comments

Comments

@ccarvalho-eng
Copy link
Contributor

ccarvalho-eng commented May 22, 2023

Deps

  {:auth_plug, "~> 1.5"},
  {:elixir_auth_google, "~> 1.6.8", override: true},

Output

Because elixir_auth_google >= 1.6.6 depends on httpoison ~> 2.1.0 and auth_plug >= 1.4.1 depends on httpoison ~> 1.8.0, elixir_auth_google >= 1.6.6 is incompatible with auth_plug >= 1.4.1.
And because your app depends on auth_plug ~> 1.5, elixir_auth_google >= 1.6.6 is forbidden.
So, because your app depends on elixir_auth_google ~> 1.6.8, version solving failed.
@ccarvalho-eng ccarvalho-eng changed the title HTTPoison needs to be updated to fix compatibility issues with AuthPlug HTTPoison needs to be updated to be compatible with AuthPlug May 22, 2023
@ccarvalho-eng
Copy link
Contributor Author

ccarvalho-eng commented May 22, 2023

Sorry, I should've said that the AuthPlug lib needs to update HTTPouison instead.

@nelsonic
Copy link
Member

@wood-archer what is the context.
Are you using auth_plug ...? 💭

@ccarvalho-eng
Copy link
Contributor Author

ccarvalho-eng commented May 22, 2023

After trying the elixir-auth-google library, I wanted a quick way to authenticate without persisting data to a database so that's when I found that auto-plug could be really helpful but couldn't go further given this incompatibility issue. For the time being (as Google SSO is not a strict requirement for the project I am working on) I opted to use Basic Auth for now but would love to try this library in the future.

@nelsonic
Copy link
Member

@wood-archer cool. auth_plug is very much in the process of being updated. Apologies it's taking so long ... ⏳ 🙄
Please ⭐ the project as motivation for me to dedicate some time to it! 😉

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