# Bug OP-17079 - SAML Setup with metadata URL does not fill IdP Cert

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Authentication / SAML |
| Target versions | 16.0.0 |
| Observed in versions | 15.5.0 |
| Sprint | 16.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.5.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 | Jan Sandbrink |
| 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, go to Administration -&gt; Authentication -&gt; SAML Providers
    
2.  Create a new SAML provider
    
3.  In the metadata section, provide a metadata XML file with multiple certificates inside the `IDPSSODescriptor` section (either via URL or XML)
    
    1.  see attached XML file as one example
        
4.  Click on update
    

### What is the buggy behavior?

*   in the primary configuration section, the &quot;Public certificate of identity provider&quot; field is empty
    

### What is the expected behavior?

1.  the field &quot;Public certificate of identity provider&quot; should be filled with the certificates extracted from the metadata URL
    

### Environment information

**OpenProject installation type**

*   Hosted cloud edition
    

**OpenProject version**

_v15.5.0_
