fix gitlab/README.MD
This commit is contained in:
@@ -7,16 +7,17 @@
|
|||||||
### Создание OAuth Application
|
### Создание OAuth Application
|
||||||
Для запуска понадобиться обзавестить своим **GitLab**.
|
Для запуска понадобиться обзавестить своим **GitLab**.
|
||||||
|
|
||||||
1. Переходим в [Applications](https://gitlab.com/-/profile/applications)
|
1. Переходим в [Applications](https://gitlab.com/-/profile/applications)
|
||||||
|

|
||||||
|
|
||||||

|
|
||||||
2. Заполняем обязательно следующие поля
|
2. Заполняем обязательно следующие поля
|
||||||
- **Name**: `MY_OAUTH2-APP`
|
- **Name**: `MY_OAUTH2-APP`
|
||||||
- **Redirect URI**: `http://127.0.0.1:8080/login/oauth2/code/gitlab`
|
- **Redirect URI**: `http://127.0.0.1:8080/login/oauth2/code/gitlab`
|
||||||
- **Scopes**: `read_user`
|
- **Scopes**: `read_user`
|
||||||

|

|
||||||
3. Получаем **Client secret/Client ID**
|
|
||||||

|
3. Получаем **Client secret/Client ID**
|
||||||
|

|
||||||
|
|
||||||
### Настройка Spring
|
### Настройка Spring
|
||||||
Открываем файл `src/main/resources/application.yml` и указываем там **Client ID** и **Client secrets**:
|
Открываем файл `src/main/resources/application.yml` и указываем там **Client ID** и **Client secrets**:
|
||||||
|
|||||||
Reference in New Issue
Block a user