middleware
middleware copied to clipboard
NAS-135763 / 26.04 / Improve visibility of token usage failures
This commit expands visibility of failures related to auth tokens for upload / download endpoints and webshell via their respective apps in the following ways:
- Improve token manager responses to include reason why it fails
- Add middleware logger message on failure
- Add audit AUTHENTICATION failure in cases where relevant
Jira URL: https://ixsystems.atlassian.net/browse/NAS-135763