We are using the built in django.contrib.auth
to handle most of our users log-ins/registrations.
However we also want to have basic HTTP Auth access to our app api so that we can access it via a command line interface project we are building.
The closest thing I found was this: https://djangosnippets.org/snippets/243/
But that is from all way back in 2007 and there is nothing more recent, I was surprised to not see anything added to Django to resolve this issue. Is there a library that I may be missing?
My manager suggested I build some middleware to handle this, is this the best way?