> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/on-premises/tr/yapilandirma/overleaf-toolkit/authentication.md).

# Kimlik Doğrulama

Bu özellik tarafından geliştirilmiştir [yu-i-i/overleaf-cep](https://github.com/yu-i-i/overleaf-cep). 3 kimlik doğrulama yöntemi desteklenmektedir. Yapılandırmadan sonra, aşağıdaki seçeneklerle giriş yapabilirsiniz, aşağıdaki görselde gösterildiği gibi.

<figure><img src="/files/ebc7d17d6c065f966f835cba0f8e1633f14dc280" alt=""><figcaption></figcaption></figure>

En genel yöntem olduğu için OIDC kullanmanızı şiddetle öneririz.

{% columns %}
{% column width="50%" %}
{% content-ref url="/spaces/KcndV37eEZw3SwJsTEVq/pages/276db22e46eca0aa86c95599ff44f1baf85ed272" %}
[OIDC Kimlik Doğrulama](/on-premises/tr/yapilandirma/overleaf-toolkit/authentication/oidc-authentication.md)
{% endcontent-ref %}

{% content-ref url="/spaces/KcndV37eEZw3SwJsTEVq/pages/d6c8e68d569020e0c74c9d5377c9f3958286f460" %}
[LDAP Kimlik Doğrulama](/on-premises/tr/yapilandirma/overleaf-toolkit/authentication/ldap-authentication.md)
{% endcontent-ref %}
{% endcolumn %}

{% column width="50%" %}
{% content-ref url="/spaces/KcndV37eEZw3SwJsTEVq/pages/40fb4376765f30b739df27071b35f3d1e9620fac" %}
[SAML Kimlik Doğrulama](/on-premises/tr/yapilandirma/overleaf-toolkit/authentication/saml-authentication.md)
{% endcontent-ref %}

{% endcolumn %}
{% endcolumns %}

### Genel Yapılandırma

Çevre değişkeni `EXTERNAL_AUTH` belirli kimlik doğrulama modülünü etkinleştirmek için gereklidir. Bu ortam değişkeni, hangi harici kimlik doğrulama yöntemlerinin etkinleştirildiğini belirtir. Mevcut seçenekler (küçük harflerle) şunlardır:

* saml
* ldap
* oidc

### SSO için öneriler

Overleaf için saml, ldap, oauth'u test ettim. Hem saml hem de oauth Overleaf'te iyi çalışıyor, ancak ldap, duruma bağlı. İyi çalışmayabilir <https://docs.goauthentik.io/>, ama openLDAP'te iyi çalışıyor (<https://github.com/rroemhild/docker-test-openldap>).

{% hint style="info" %}
passport-ldapauth'u güncellememiz gerekiyor, son zamanlarda Overleaf LDAP'yi test etmeye çalışıyorum <https://goauthentik.io/> , başarısız oldu. "passport-ldapauth"u 3.0.0'a güncelledikten sonra her şey iyi çalışıyor.

```
"passport-ldapauth": "^3.0.0",
```

Başlangıçtaki sürüm 2.x.x idi, bu da 6 yıl öncesine ait.
{% endhint %}

Sebebin ne olduğundan emin değilim, çünkü hepimiz LDAP (ayrıca saml, oauth) kimlik doğrulaması için harici bir pakete bağlıyız. Çalışmazsa, durum Overleaf Server Pro için de aynı olabilir; çünkü tüm ortam değişkenlerini yalnızca dahili pakete aktarıyoruz, eğer bazı hatalar varsa şu an hiçbir fikrimiz yok.

**Bu yüzden kullanıcılarımızın SSO'yu tüm kaynak kodla test etmek için bir geliştirme ortamı kurmasını şiddetle öneriyorum**, şu adreste mevcuttur [Setup Develop Environment (Local)](/dev/environment/setup-develop-environment-local.md). Geliştirme ortamında, tüm günlükleri terminalde görebilirsiniz; bu da hata ayıklama için kullanışlı olmasını sağlar.

\ <br>


---

# 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://overleaf-pro.ayaka.space/on-premises/tr/yapilandirma/overleaf-toolkit/authentication.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.
