In my project is_active used to block accounts and external table is used to provide reason. I used that functionality in DRF without issues, but I couldn't port it to Django Ninja JWT, because it's implementation is hidden.
What ninja return:
{
  "detail": "No active account found with the given credentials",
  "code": "authentication_failed"
} 
urls.py:
api.register_controllers(NinjaJWTDefaultController)
 
I need a way to change the output and provide block reason from external table.