| Summary: | Authentication for blocked accounts should return 403 | ||
|---|---|---|---|
| Product: | Community | Reporter: | Carsten Reckord <reckord> |
| Component: | API.eclipse.org | Assignee: | Christopher Guindon <chris.guindon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chris.guindon, webmaster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 499481 | ||
|
Description
Carsten Reckord
Would you agree that the correct http status code here is 401? I was suggesting 403 because it failed even though the authentication itself might have been successful, and because it makes it easy to distinguish a regular login request/failure from a blocked account, i.e. a situation where retrying won't help. But I guess just showing the error message to the user should be enough to inform them. So I agree, 401 is good. (In reply to Carsten Reckord from comment #2) > I was suggesting 403 because it failed even though the authentication itself > might have been successful, and because it makes it easy to distinguish a > regular login request/failure from a blocked account, i.e. a situation where > retrying won't help. > > But I guess just showing the error message to the user should be enough to > inform them. So I agree, 401 is good. I tend to agree that 403 is the best error for this. This was fixed a while ago. Closing this bug. |