# Bug OP-17080 - SAML auth: Obsolete fingerprint is used despite presence of IdP certficate

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Authentication / SAML |
| Target versions | 16.0.0 |
| Observed in versions |  |
| Sprint | 16.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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.  Create a SAML auth provider and configure it to work correctly
    
2.  On the rails console, add an invalid fingerprint to the options
    

```ruby
ap = AuthProvider.last
ap.options = ap.options.merge("fingerprint" => "48:AB:00:AB:5B:C3:95:7B:BF:7E:DF:D3:E6:3A:1C:2F:31:CE:86:A9")
ap.save
```

3\. try logging in via SAML

### What is the buggy behavior?

*   the login fails with &quot;invalid fingerprint&quot;
    

### What is the expected behavior?

*   the certificate, not the (deprecated) fingerprint should be used
    

### Environment information

**OpenProject version**

_v15.5.0_
