# Bug OP-9776 - Error 500 when creating a new OpenID provider

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.1.0 |
| Observed in versions | 12.0.0 |
| Sprint | 12.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.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

### **Environment**:

Your OpenProject Version: Cloud Edition

Operating System / Browser / OpenProject language: Windows 10 / Firefox and Vivaldi / german

### **Logs**

``` text
providers:1 POST https://get-racing.openproject.com/admin/openid_connect/providers 500
providers:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://duh6351wqrifx.cloudfront.net/assets/frontend/Lato-Regular.1d2ca94dfba6f8d87cfd.woff
2instrument.js:109

DEPRECATED: DI is instantiating a token "" that inherits its @Injectable decorator but does not provide one itself.
This will become an error in a future version of Angular. Please add @Injectable() to the "" class.
```

### **Steps to reproduce:**

1.  \-\> *Administration* -\> *Authentication* and choose -\> *OpenID providers*
2.  *+ OpenID provider*
3.  *fill in your credentials (google or azure doesn't matter)*
4.  *click on create*

### **Actual Behavior**

\[Fehler 500\] Auf der von Ihnen aufgerufenen Seite ist ein Fehler aufgetreten. Kontaktieren Sie bitte Ihren OpenProject Administrator, wenn Sie wiederholt Probleme mit dem Aufrufen der Seite haben.

And no new provider is created

### **Expected Behavior**

Have a new OpenID provider created
