From 33e9eda505448b116361febe1a301a7e2ca89b72 Mon Sep 17 00:00:00 2001 From: svetlana maleeva Date: Fri, 5 Feb 2021 11:06:26 +0300 Subject: [PATCH] Updated Google instructions, minor fixes - AuthorizationKeys.ascx --- .../AuthorizationKeys/AuthorizationKeys.ascx | 28 +++++++++-------- .../AuthorizationKeys.ru.ascx | 30 ++++++++++--------- 2 files changed, 31 insertions(+), 27 deletions(-) diff --git a/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ascx b/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ascx index 31bd0cc1c..e9ffa0c41 100644 --- a/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ascx +++ b/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ascx @@ -200,7 +200,7 @@
  • Copy the generated id of the application, insert it into the Application ID field in the Document editor, and click the Save button;
  • -
  • Continue by logging into your Medeley account.
  • +
  • Continue by logging into your Mendeley account.
  • Zotero @@ -209,11 +209,11 @@
      -
    1. Go to the Zetero registration page and register a new account or or log into an existing account;
    2. -
    3. Proceed to Zetero API settings and click the Creare new private key button;
    4. +
    5. Go to the Zotero registration page and register a new account or log into an existing account;
    6. +
    7. Proceed to Zotero API settings and click the Create new private key button;
    8. In the New private key page check the following checkboxes:
        -
      • Personal Library - Alow write access,
      • +
      • Personal Library - Allow write access,
      • Default Group Permissions - Read/Write.
    9. @@ -270,27 +270,29 @@
      • Click the navigation menu in the upper left corner and select the APIs and services -> Dashboard section.
      • Click the Enable APIs and services button on the top.
      • -
      • In the G Suite section, click the Google Drive API link, then click the Enable button.
      • -
      • Return to the Dashboard page, сlick the Enable APIs and services button. In the Social section, enable the Google People API and Contacts API in the same way.
      • +
      • In the Google Workspace section, click the Google Drive API link, then click the Enable button.
      • +
      • Return to the Dashboard page, click the Enable APIs and services button. In the Social section, enable the Google People API and Contacts API in the same way.
    10. Configure the consent screen:
      • Click the navigation menu in the upper left corner and select the APIs and services -> OAuth consent screen section.
      • Choose the User Type and click Create.
      • -
      • Specify the Application name in the corresponding field.
      • -
      • Click the Add scope button. In a new window that opens, specify ../auth/drive in the entry field, press Enter and click the Add button.
      • -
      • In the Authorized domains field, specify the onlyoffice.com domain and press Enter.
      • -
      • Click Save.
      • +
      • In the App information section, specify the App name and User support email in the corresponding fields.
      • +
      • In the App domain section, go to the Authorized domains subsection. Click the Add domain button and specify the onlyoffice.com domain in the entry field.
      • +
      • Specify an email in the Developer contact information section.
      • +
      • Click the Save and continue button.
      • +
      • Click the Add or remove scopes button. On a new screen that opens, go to the Manually add scopes section, specify https://www.googleapis.com/auth/drive in the entry field and click the Add to table button, then click Update.
      • +
      • Click Save and continue.
    11. Get Client ID and Client secret:
      • Click the navigation menu in the upper left corner and select the APIs and services -> Credentials section.
      • Click the Create credentials button and choose the OAuth client ID option in the list.
      • -
      • In the Application type list, select the Web application radio button.
      • -
      • Introduce "https://service.onlyoffice.com" in the Authorized JavaScript origins field and press Enter.
      • -
      • Introduce "https://service.onlyoffice.com/oauth2.aspx" in the Authorized redirect URIs field and press Enter.
      • +
      • In the Application type list, select the Web application option.
      • +
      • In the Authorized JavaScript origins section, click the Add URI button and enter "https://service.onlyoffice.com" in the entry field.
      • +
      • In the Authorized redirect URIs section, click the Add URI button and enter "https://service.onlyoffice.com/oauth2.aspx" in the entry field.
      • Click the Create button.
      • Your Client ID and Client secret will be displayed in a new window. Copy or write down them.
      diff --git a/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ru.ascx b/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ru.ascx index 385e5d162..062875aa4 100644 --- a/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ru.ascx +++ b/Web/Controls/Help/Server/Windows/Community/AuthorizationKeys/AuthorizationKeys.ru.ascx @@ -172,7 +172,7 @@
    12. добавьте описание для приложения в поле Description,
    13. в разделе Плагины кликните на плагин Mendeley и скопируйте предоставленный URL адрес. Адрес выглядит следующим образом: https://your.portal/ds-vpath/5.5.3-39/sdkjs-plugins/mendeley/oauth.html,
    14. примите Terms and Conditions (условия и положения),
    15. -
    16. сгенеритуйте Secret,
    17. +
    18. сгенерируйте Secret,
    19. Нажмите на кнопку Submit, чтобы добавить приложение.
    20. @@ -183,11 +183,11 @@

      Zotero Значок Zotero" />

        -
      1. Перейдите на страницу регистрации Zetero и зарегистрируйте новую учетную запись или войдите в существующую учетную запись;
      2. -
      3. Перейдите на страницу настройки API Zetero и щелкните на кнопку Creare new private key (Создать новый частный ключ);
      4. -
      5. На странице создания New private key отметье галочками следующие параметры: +
      6. Перейдите на страницу регистрации Zotero и зарегистрируйте новую учетную запись или войдите в существующую учетную запись;
      7. +
      8. Перейдите на страницу настройки API Zotero и щелкните на кнопку Create new private key (Создать новый частный ключ);
      9. +
      10. На странице создания New private key отметьте галочками следующие параметры:
          -
        • Personal Library - Alow write access,
        • +
        • Personal Library - Allow write access,
        • Default Group Permissions - Read/Write.
      11. @@ -236,27 +236,29 @@
        • В меню навигации в левом верхнем углу выберите раздел API и сервисы -> Панель управления.
        • Нажмите кнопку Включить API и сервисы, расположенную наверху.
        • -
        • В разделе G Suite нажмите на ссылку Google Drive API, а затем на кнопку Включить.
        • +
        • В разделе Google Workspace нажмите на ссылку Google Drive API, а затем на кнопку Включить.
        • Вернитесь на страницу Панель управления, нажмите кнопку Включить API и сервисы. В разделе Социальные сети таким же образом включите Google People API и Contacts API.
      12. Настройте окно запроса доступа:
        • В меню навигации в левом верхнем углу выберите раздел API и сервисы -> Окно запроса доступа OAuth.
        • -
        • Выберите Вид приложения и нажмите кнопку Создать.
        • -
        • Укажите имя приложения в поле Название приложения.
        • -
        • Нажмите кнопку Добавить область действия. Откроется новое окно. Введите ../auth/drive в поле ввода, нажмите клавишу Enter и нажмите кнопку Добавить.
        • -
        • В поле Авторизованные домены укажите домен onlyoffice.com и нажмите клавишу Enter.
        • -
        • Нажмите кнопку Сохранить.
        • +
        • Выберите User Type и нажмите кнопку Создать.
        • +
        • В разделе Сведения о приложении укажите Название приложения и Эл. адрес службы поддержки в соответствующих полях.
        • +
        • В разделе Домен приложения перейдите в подраздел Авторизованные домены. Нажмите кнопку Добавить домен и укажите в поле ввода домен onlyoffice.com.
        • +
        • Укажите email в разделе Контактная информация разработчика.
        • +
        • Нажмите кнопку Сохранить и продолжить.
        • +
        • Нажмите кнопку Добавить или удалить область действия. Откроется новый экран. В разделе Добавить области действия вручную введите https://www.googleapis.com/auth/drive в поле ввода и нажмите кнопку Добавить в таблицу, затем нажмите Обновить.
        • +
        • Нажмите кнопку Сохранить и продолжить.
      13. Получите Идентификатор клиента и Секрет клиента:
        • В меню навигации в левом верхнем углу выберите раздел API и сервисы -> Учетные данные.
        • Нажмите кнопку Создать учетные данные и выберите из списка опцию Идентификатор клиента OAuth.
        • -
        • В списке Тип приложения выберите переключатель Веб-приложение.
        • -
        • В поле Разрешенные источники JavaScript введите "https://service.onlyoffice.com" и нажмите клавишу Enter.
        • -
        • В поле Разрешенные URI перенаправления введите "https://service.onlyoffice.com/oauth2.aspx" и нажмите клавишу Enter.
        • +
        • В списке Тип приложения выберите опцию Веб-приложение.
        • +
        • В поле Разрешенные источники JavaScript нажмите кнопку Добавить URI и введите "https://service.onlyoffice.com" в поле ввода.
        • +
        • В поле Разрешенные URI перенаправления нажмите кнопку Добавить URI и введите "https://service.onlyoffice.com/oauth2.aspx" в поле ввода.
        • Нажмите кнопку Создать.
        • Идентификатор клиента и Секрет клиента будут отображены в новом окне. Скопируйте или запишите их.