Closed Bastes closed 3 years ago
Good catch, thanks! I've updated the docs 😄
:httpc
is optional so I've decided not to load :inets
in case you are using another HTTP adapter that doesn't depend on it. No need to load and compile `:inets into the app in that case.
Happy to help :) thanks for the fix.
Hi,
Using assent to authenticate through oauth2 on a micro-app that had no ecto backup nor need to record user information past authorization, I encountered an error after the built succeed:
That happened during the callback of the oauth2 transaction, and completely baffled me. It looked like something like a missing dependency or something, yet I did not see anything like this in assent's docs, and when I googled it, it looked exactly like the
inets
lib was missing...I finally figured out how to fix this, adding
inets
to the extra_applications:...aaaand... that worked.
Maybe it should be noted in the installation docs that
inets
is necessary to be started for it to work. I'm willing to make a PR explaining it, but I'd like for someone knowing assent from the inside out to explain why and in which cases it's necessary to haveinets
as a dependency first (so I don't mislead others either).So, there. Thank you for that awesome lib by the way.