> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/de/features/settings/single-sign-on-sso/openid.md).

# OpenId

Konfiguration einer SSO-Verbindung mit dem OpenId-Protokoll

## Funktionsprinzip

Die Spezifikationen von OpenId finden Sie [hier](https://openid.net/connect/)

![](https://1094947073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4SiA7dB1sjSI91cItk%2Fuploads%2Fgit-blob-abe11b916b530f9f6df30dc5153a96ba7839c7d2%2Fimage-119.png?alt=media)

Die Konfiguration des SSO mit OpenID erfolgt in drei Schritten

* Konfiguration des Authentifizierungsanbieters: Active Directory, Google Workspace...
* Konfiguration des Dienstanbieters: Dastra
* Tests der Authentifizierung

## 1. Konfiguration des Authentifizierungsanbieters

Sie müssen eine OpenId-Konfiguration in Ihrem Authentifizierungsanbieter einrichten.

Für Active Directory: <https://docs.microsoft.com/fr-fr/azure/active-directory/develop/v2-protocols-oidc>

Um den Abgleich zwischen den lokalen Konten (die in Dastra gehostet werden) herzustellen, müssen Sie eine Eigenschaft angeben, die die E-Mail des Nutzers enthält (standardmäßig sucht Dastra die Eigenschaft mit dem Namen <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress>).

Hier sind die Informationen, die Sie zur Konfiguration des Service Providers benötigen:

* **Authority/domain (z. B.: <https://account.oauth.sso.com>)**
* **Client-ID: ClientId**
* **Secret key (optional)**
* **Response Type, standardmäßig id\_token**
* **Scope: standardmäßig „openid profile email"**

Zur Konfiguration Ihres Authentifizierungsanbieters benötigen Sie die folgenden Informationen:

* **Die bereitgestellte Redirect URI in diesem Format: <https://account.dastra.eu/signin-{schemeId}>**

## 2. Konfiguration des Dienstanbieters

Gehen Sie in dastra.eu auf [die SSO-Administrationsseite](https://app.dastra.eu/general-settings/sso) und klicken Sie auf „SSO-Login hinzufügen"

![](https://1094947073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4SiA7dB1sjSI91cItk%2Fuploads%2Fgit-blob-28da91f4673d6b431af1dd98cfeb3b33574aafca%2Fimage-116.png?alt=media)

Füllen Sie die Formularfelder mithilfe der Konfigurationsinformationen der Entität aus

<figure><img src="https://1094947073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4SiA7dB1sjSI91cItk%2Fuploads%2Fgit-blob-e4053dd4f1030abe6a4237496af962d61bc620f8%2Fimage-2.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ab dem **30.03.2026** wird Dastra die Authentifizierung über das JWT-Private-Key-System autorisieren. Sie müssen dann keinen geheimen Schlüssel mehr in Ihrer SSO-Konfiguration angeben. Dastra wird automatisch die öffentlichen Schlüssel abrufen, um die JWT mit privatem Schlüssel zu generieren.\
Wählen Sie dazu die zweite Option „JWT private key" im Formular.
{% endhint %}

{% hint style="danger" %}
Es ist möglich, alle Nutzer des Abonnementkontos zur Verwendung eines bestimmten SSO zu zwingen (durch Aktivieren des Kontrollkästchens „Nutzer zur Verwendung dieses SSO zwingen"). Vor der Aktivierung dieser Option ist Vorsicht geboten. Denn wenn das SSO nicht funktioniert, können Sie nicht mehr als Administrator auf Ihr Konto zugreifen. Es ist vorzuziehen, das SSO pro Nutzer zu verwalten.
{% endhint %}

{% hint style="warning" %}
**Sonderfälle externer Nutzer**\
Nur interne Konten eines Abonnements unterliegen dem SSO. Konten externer Nutzer (die ein anderes zusätzliches Abonnement haben) unterliegen nicht dem SSO.
{% endhint %}

## 3. SSO mit OpenId testen

Sobald die Konfiguration abgeschlossen ist, können Sie die Authentifizierung testen, indem Sie unten rechts auf die Schaltfläche „Testen" klicken. Wenn Sie bei der SSO-Konfiguration auf ein Problem stoßen, wenden Sie sich bitte an den Support, indem Sie die Seite zur [Verwaltung von Support-Tickets](https://app.dastra.eu/general-settings/support) aufrufen.

![](https://1094947073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4SiA7dB1sjSI91cItk%2Fuploads%2Fgit-blob-f385e34554f47c9ca3207fcb8668de7ceeb281f7%2Fimage-122.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.dastra.eu/de/features/settings/single-sign-on-sso/openid.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
