# GitLab SSO

{% hint style="warning" %}
Следующие шаги описывают состояние GitLab на момент создания этой инструкции. Интерфейс GitLab может измениться, поэтому для получения наиболее актуальной информации обратитесь к официальному [источнику](https://docs.gitlab.com/ee/integration/openid_connect_provider.html)
{% endhint %}

Чтобы войти на Security Center через свою учетную запись GitLab, выполните следующие действия:

1. Перейдите в настройки Вашего **профиля** в GitLab и выберите вкладку "**Applications**".
2. Нажмите "**Add new application**"

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

3. Заполните следующие поля:

* **Name** - Введите желаемое название приложения
* **Redirect URI** - ***<https://seccenter-dev.cybercodereview.ru/oauth2/callback>***
* Убедитесь, что выбрана опция "**Confidential**"&#x20;
* Выберите объем информации, которая будет передана: ***openid***, ***profile***, ***email***
* Нажмите "**Save application**"

Используйте данные, созданные для вашего приложения, для [настройки ](/security-center/general-portal-settings/sso-settings.md)интеграции SSO в Security Center:

* **Домен**: gitlab.com
* **Client ID**: \<Application ID>
* **Клиентский секрет**: <Значение>
* **Область действия**: <Значение>

<figure><img src="/files/41etyCWOuhrf8bcgYMme" alt=""><figcaption></figcaption></figure>

Эти настройки позволят вам использовать учетную запись GitLab для входа в Security Center


---

# Agent Instructions: 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:

```
GET https://docs.cybercodereview.ru/security-center/general-portal-settings/sso-settings/gitlab-sso.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
