# Feature OP-9392 - Improve error logging of SAML 

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 12.0.2 |
| Sprint | 12.0.2 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Oliver Günther |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

In case attributes are missing from the SAML response object, it seems like that is missing proper logging.

If attributes are missing in the SAML response this is all the user sees in the logs:

```text
Failed to process omniauth response for fodiidbarsdsdsdsad=: The authentication information returned from the identity provider was invalid. Please contact your administrator for further help.
```

**Acceptance Criteria**

*   ERROR log (no need for log level debug) showing incoming xml data from the IdP (available in the omniauth info hash), as well as found and most importantly missing attributes
