# Bug OP-20129 - When trying to login with password, and password login being disabled for SSO users, the error message does not say about this

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-20129

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | DevSecOps / Security, Authentication |
| Target versions | 17.9.0 |
| Observed in versions | 17.8.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.8.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Klaus Zanders |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  As an admin set the setting `password_login` to either `except_sso` or `none`
    
2.  As a user with an external auth source, try to login with email and password
    

### What is the buggy behavior?

*   See the error message: `Invalid user or password or the account is blocked due to multiple failed login attempts. If so, it will be unblocked automatically in a short time.`
    

### What is the expected behavior?

1.  While not wanting to disclose if the user exists and has SSO set up, if the setting is enabled, extend the error message generically to include an information that the user might have SSO set up and if so, this needs to be used to login.
