You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2023/08/03 09:21:00 UTC
[jira] [Resolved] (JAMES-3933) Wrong error message when bad credentials with JMAP
[ https://issues.apache.org/jira/browse/JAMES-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
René Cordier resolved JAMES-3933.
---------------------------------
Fix Version/s: 3.9.0
Resolution: Fixed
[https://github.com/apache/james-project/pull/1663] resolved this and has been merged
> 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
> Priority: Major
> Fix For: 3.9.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org