> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentifizierung

> Anmeldungen in einem Kubernetes-Deployment konfigurieren - OIDC, SAML, LDAP, öffentlicher Zugriff, reCAPTCHA und Passwortregeln.

Alle Anmeldemethoden laufen im **web**-Dienst jedes Ayakaleaf-Pro-Pods. Keine von ihnen benötigt einen zusätzlichen Pod oder einen periodischen Job, und alle speichern ihren Anmeldestatus in der Sitzung in Redis, sodass sie mit einem oder mehreren Replikaten gleich funktionieren. Was sich auf Kubernetes unterscheidet, ist, wohin die Einstellungen, Secrets und Zertifikate gehören und welche Netzwerkpfade offen sein müssen:

| Methode | Secret `overleaf-secrets` | Secret `overleaf-certs` | Pods müssen erreichen |
| - | - | - | - |
| [OIDC](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/oidc-authentication.md) | `OVERLEAF_OIDC_CLIENT_SECRET` | Ihre CA, falls privat | die Token- und Userinfo-Endpunkte des OP |
| [SAML](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/saml-authentication.md) | – | das IdP-Zertifikat, Overleafs eigener Schlüssel | nichts: Nachrichten laufen über den Browser |
| [LDAP](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/ldap-authentication.md) | `OVERLEAF_LDAP_BIND_CREDENTIALS` | die LDAP-CA, falls privat | den LDAP-Server |
| [Öffentlicher Zugriff](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/public-access.md) | SMTP-Passwort, für Aktivierungs-E-Mails | – | den SMTP-Server |
| [reCAPTCHA](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/recaptcha.md) | `RECAPTCHA_SECRET_KEY`, `DEVICE_HISTORY_SECRET` | – | `www.google.com` (oder `RECAPTCHA_ENDPOINT`) |
| [Passwortbeschränkungen](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/password-restrictions.md) | – | – | – |

`EXTERNAL_AUTH` aktiviert die SSO-Methoden als durch Leerzeichen getrennte Liste in der ConfigMap, zum Beispiel `EXTERNAL_AUTH: ldap oidc`. Konten und das, was Benutzer bei aktiviertem SSO ändern dürfen, sind dieselben wie beim Toolkit, siehe [Authentifizierung](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/overleaf-toolkit/authentication).

> [!WARNING]
>
> Eine Methode mit fehlerhaften Einstellungen hindert den Pod nicht daran, bereit zu werden: web protokolliert `error setting up passport in modules` in `/var/log/overleaf/web.log`, und diese Methode sowie die in der Reihenfolge `ldap`, `saml`, `oidc` nachfolgenden bleiben deaktiviert. Prüfen Sie das Log nach jeder Änderung. Wir haben es mit `EXTERNAL_AUTH: saml oidc` und einem fehlenden IdP-Zertifikat ausprobiert: Der Pod wurde bereit, und sowohl `/saml/login` als auch `/oidc/login` antworteten mit "Something went wrong" (500), bis der Zertifikatspfad korrigiert war.

> [card] [OIDC-Authentifizierung](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/oidc-authentication.md)

> [card] [SAML-Authentifizierung](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/saml-authentication.md)

> [card] [LDAP-Authentifizierung](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/ldap-authentication.md)

> [card] [Öffentlicher Zugriff](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/public-access.md)

> [card] [reCAPTCHA](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/recaptcha.md)

> [card] [Passwortbeschränkungen](https://ayakaleaf-pro.mintlify.site/de/on-premises/configuration/kubernetes/authentication/password-restrictions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.