basic_auth icon indicating copy to clipboard operation
basic_auth copied to clipboard

Elixir Plug to easily add HTTP basic authentication to an app

Results 4 basic_auth issues
Sort by recently updated
recently updated
newest added

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...

There is any command to check if the user is logged in or not? Or some custom code that I can use to achieve this? Thanks!

Kind of specific to my development experience case but sometimes it's useful to just skip authentication if no credentials are provided instead of raising an error. Not sure if someone...

also, guard with no Phoenix, just with `Plug.Router`, by path, possible? Thank you.