Just a simple question that I’m a bit confused about: What’s the best way to setup basic auth across an entire site?
In Rails I used to just add a filter in the ApplicationController that was only active in the staging/prod environments, but I’m a bit confused as to where the best place is in phoenix and how to do the environment checking. Thanks!