René Cordier created JAMES-3933:
-----------------------------------
Summary: Wrong error message when bad credentials with JMAP
Key: JAMES-3933
URL: https://issues.apache.org/jira/browse/JAMES-3933
Project: James Server
Issue Type: Improvement
Affects Versions: 3.8.0
Reporter: René Cordier
When trying to send a request with BasicAuth on JMAP for example, and Basic
auth strategy is enabled, and the creds are wrong, we get this message:
```
{
"type": "about:blank",
"status": 401,
"detail": "No valid authentication methods provided"
}
```
The detail message is wrong. This normally shows if we are trying to
authenticate with a non supported or disabled authentication strategy (like if
Basic auth strategy was off and you try to login with basicauth).
The message if using a supported auth method but wrong creds should be
different, more like: "Wrong credentials provided"..?
Investigate and fix the issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]