> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/de/form-management/security/security-items/auth0-security.md).

# Auth0-Sicherheit

## 🔐 Was ist Auth0-Sicherheit?

Mit dem [Auth0](https://www.auth0.com) Sicherheitsoption: Sie können Ihre Umfragen so integrieren, dass die vorhandene Auth0-Infrastruktur verwendet wird, um Benutzer vor dem Ausfüllen der Umfrage zu authentifizieren.&#x20;

Mit Auth0 können Sie den Zugriff einschränken und Anmeldeinformationen anfordern, wobei jeder in Ihrem Auth0-Konto aktivierte Benutzeranbieter wie Active Directory, LinkedIn, Google oder Facebook verwendet werden kann.

{% hint style="info" %}
Sie können [Datenattribute](/de/form-management/security/data-attributes.md) verwenden, um Ihre in Auth0 angemeldeten Benutzerattribute in Ihren Umfragetexten zu übernehmen oder [Umfragelogik](/de/form-management/form-designer/condition-rules.md).&#x20;
{% endhint %}

## 🚀 Auth0 einrichten

Um die Auth0-Sicherheit zu konfigurieren, müssen Sie in Ihrem [Auth0-Konto](https://manage.auth0.com/) eine Application und eine Backend-API erstellen.

Um die Application zu erstellen, gehen Sie zum Auth0-Administrationsbereich und **erstellen Sie die Application.**

![](/files/dc22bc3fecd194cac1b9e6cf4b42ccb0afc0fe83)

Wählen Sie den **Single Page Web Applications** als Anwendungstyp aus

![](/files/9bd8a7f3294e4a9169f9b6ae02ea435eac166e01)

In den Einstellungen Ihrer Application setzen Sie die erlaubten **Callback-URLs** auf `https://www.ngsurvey.com/s/auth0redirect`&#x20;

![](/files/35677ba970a93f52f7627eacfc7b83638cb21879)

{% hint style="warning" %}
Wenn Sie eine selbst gehostete On-Premise-Version verwenden, stellen Sie sicher, dass Sie die Domain [www.ngsurvey.com](http://www.ngsurvey.com) durch die Domain ersetzen, auf der Ihre eigene ngSurvey-Instanz läuft.  &#x20;
{% endhint %}

Sobald Ihre Application eingerichtet ist, kopieren Sie aus dem Reiter Settings die **Domain** und **Client ID** und fügen Sie die Werte in die Einstellungen Ihres ngSurvey-Sicherheitsitems ein.

![](/files/4f15f5d8ca56d1b7b831be66e74680515b361521)

Gehen Sie zurück zu Ihrem [Auth0-Administrationsbereich](https://manage.auth0.com/) und erstellen Sie im API-Bereich **eine neue API.**

![](/files/d056a6823db99299243a395787c0ec0985a135c8)

Erstellen Sie die neue API mit einem eindeutigen Bezeichner.

![](/files/5c40a89bfdd789f650850e3f4419de457c442cad)

Kopieren Sie den **Identifier** und fügen Sie ihn in die Auth0-Sicherheitsitem-Einstellungen von ngSurvey ein.

![](/files/50b0fc0179eba520c1fe1b03f762776896a78526)

Das war’s! Ihre Umfrage ist jetzt nur für Benutzer verfügbar, die sich mithilfe Ihrer Auth0-Servereinstellungen authentifiziert haben.

## 🔅 Auth0-Sicherheitsattribute

* **`Domain`** ist Ihre Auth0-Domain.&#x20;
* **`Client Id`** Client-ID Ihrer Auth0 Single Page Application.
* **`Identifier / Audience`** Audience-Identifier Ihrer Auth0 Web API.
* **`Mehrfachübermittlungen zulassen`** kann ein Befragter mehrmals an derselben Umfrage teilnehmen.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ngsurvey.com/de/form-management/security/security-items/auth0-security.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
