flask-basicauth icon indicating copy to clipboard operation
flask-basicauth copied to clipboard

HTTP basic access authentication for Flask.

Results 24 flask-basicauth issues
Sort by recently updated
recently updated
newest added

CORS requires pre-flight `OPTIONS` method requests to work without the `Authorization` header from the browser. Otherwise, the browser will raise CORS errors on calls to any endpoints protected with basic...

Hi, I'd been getting the following warning repeatedly whenever starting my flask server while working on my app:: ``` 1: ExtDeprecationWarning: Importing flask.ext.basicauth is deprecated, use flask _basicauth instead. .format(x=modname),...

something like this works, though it needs access to the `BasicAuth` instance. ``` python class SecuredStaticFlask(Flask): @basic_auth.required def send_static_file(self, filename): return super(SecuredStaticFlask, self).send_static_file(filename) ```

Hello, this has been reported in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064764, when running tests with flask-basicauth/0.2.0 i got these errors: ``` python3.12 -m unittest -v test_basicauth.py; python3.11 -m unittest -v test_basicauth.py; test_asks_for_authentication...