> 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/sso/okta.md).

# Okta

Richten Sie Okta als Identitätsanbieter in Dastra mit dem Protokoll OpenID Connect ein.

Diese Seite erklärt, wie Sie die SSO-Anmeldung mit Okta in Dastra mit dem Protokoll **OpenID Connect** einrichten. Das ist auch mit SAML möglich: siehe [SAML 2](https://doc.dastra.eu/de/features/settings/sso/saml.md).

1. Melden Sie sich in der Okta-Administrationskonsole an.
2. Öffnen Sie das Menü **Applications** > **Applications** und klicken Sie auf **Create App Integration**.
3. Wählen Sie **OIDC - OpenID Connect**.
4. Wählen Sie den Anwendungstyp **Web application**.
5. Konfigurieren Sie die Anwendung und aktivieren Sie unter **Grant type** die Option **Implicit (hybrid)**. Als Logo der Anwendung können Sie [dieses hier verwenden](https://www.dastra.eu/img/press/logodastra.png).
6. Rufen Sie in Dastra die Weiterleitungs-URL ab: Öffnen Sie die [Seite zur Verwaltung des SSO](https://app.dastra.eu/general-settings/sso), klicken Sie auf **SSO-Login hinzufügen** und wählen Sie **OpenID**. Kopieren Sie im Abschnitt **Konfiguration** unten im Formular die Weiterleitungs-URL.

   <figure><img src="https://1094947073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4SiA7dB1sjSI91cItk%2Fuploads%2Fgit-blob-be94e7ffcaa4762be6f76c9e64a0e3d7790acf62%2Fsettings-okta-1.png?alt=media" alt="Das Ende des Abschnitts Konfiguration des OpenID-Formulars mit der zu kopierenden Weiterleitungs-URL"><figcaption><p>Die von Dastra angezeigte Weiterleitungs-URL</p></figcaption></figure>
7. Gehen Sie zurück zu Okta und fügen Sie die Weiterleitungs-URL in **Sign-in redirect URIs** ein. Wählen Sie die Okta-Nutzer aus, denen Sie Zugriff auf Dastra geben möchten (standardmäßig können Sie **Allow everyone** ankreuzen), und klicken Sie dann auf **Save**.
8. Okta zeigt die Einstellungsseite der neuen Anwendung an: die Client-ID (Client ID), den geheimen Schlüssel (Client secret) und die Okta-Domain, die als Authority dient.
9. Gehen Sie zurück zu Dastra und füllen Sie die Formularfelder aus:

   * **Kunden-ID (ClientId)**: Kopieren Sie die Client ID aus Okta.
   * **Behörde/Domäne**: Geben Sie die Okta-Domain mit dem Protokoll an (`https://<your domain>.okta.com`).
   * **Aussteller**: Lassen Sie das Feld leer.
   * **Geheimer Schlüssel**: Kopieren Sie das Client secret aus Okta.
   * **Geltungsbereich**: `openid profile email`.
   * **Art der Antwort (Standard: id\_token)**: `id_token`.

   <figure><img src="https://1094947073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4SiA7dB1sjSI91cItk%2Fuploads%2Fgit-blob-88a5b8c09b1701040679dab7c613a9944c1d1508%2Fsettings-okta-2.png?alt=media" alt="Das OpenID-Formular von Dastra, ausgefüllt mit den Okta-Werten, wobei die geheimen Werte verdeckt sind"><figcaption><p>Das OpenID-Formular von Dastra</p></figcaption></figure>
10. Klicken Sie auf **Speichern** und dann auf der Karte der Verbindung auf **Testen**. Wenn Okta Sie zu Dastra weiterleitet, ist die Einrichtung abgeschlossen.


---

# 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/sso/okta.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.
