basic_auth
basic_auth copied to clipboard
Add basic authentication for specific path
Hi. I'm new on Elixir word.
I'm using the BasicAuth on my Router and I want to know if it's possible to define which path will need basic authentication. For example
get("/stats", to: ...)
needs authentication
get("/", to: ...)
do not need authentication