# Bug OP-16133 - Option to limit_self_registration in SAML provider not respected

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 15.0.2 |
| Observed in versions | 15.0.0 |
| Sprint | 15.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.0.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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Create a SAML provider, checking **Limit self registration**
    
2.  Disable self registration in the global authentication settings
    
3.  Try logging in via SAML with a new user
    

### What is the buggy behavior?

*   The user is registered and activated automatically
    

### What is the expected behavior?

*   the user should not be able to register at all
    

**OpenProject version**

_v15.0.1_
