Closed adrianrv closed 1 year ago
authenticate_user method raises uncontrolled exception when the provided Authorization header is not base64. To reproduce the issue:
authenticate_user
curl -i \ -H 'Accept:application/json' \ -H 'Authorization:Basic not_a_base64_string' \ http://localhost:8000/protected
authenticate_user
method raises uncontrolled exception when the provided Authorization header is not base64. To reproduce the issue: