Создание приложения OAuth

Вы можете создать приложение OAuth под свою учетную запись. Только вы сможете изменить учетные данные или удалить приложение OAuth, чтобы отозвать у него доступ.

Варианты применения

Некоторые из наиболее распространенных вариантов использования этой функции:

  • OAuth apps let you make authorized requests to Crowdin API.
  • Приложения OAuth часто используются в качестве службы единого входа. You can allow users to sign in your service with their Crowdin accounts.

Добавление нового приложения

Чтобы добавить новое приложение, выполните следующие действия:

  1. В правом верхнем углу нажмите на фото профиля и выберите Настройки. Настройки учётной записи
  2. Выберите Приложения OAuth и нажмите Новое приложение. OAuth Apps Section
  3. В появившемся диалоговом окне введите следующую информацию:
    • Name and Description (optional) will be shown to users when they authorize the app with access to their Crowdin accounts.
    • Authorization callback URLs are the URLs where users will be sent after they authorize with Crowdin. You can add multiple URLs separated by a comma (no need to use quotation marks).
    • Select the access your app requires from the list of Scopes available.
  4. Click Create.
    Create OAuth App

Изменение приложения OAuth

После создания приложения OAuth вы можете изменить его. Go to your account’s Settings > OAuth Applications to see the list of OAuth apps created under your account, dates when the apps were created, and check how many users are using each app.

Нажмите на значок в столбце Действия нужного приложения, чтобы открыть контекстное меню. Click the icon in the Actions column on the necessary app to open the context menu.

  • Edit - Update the application name, description, URLs, and scopes. Access Client ID and Client Secret of the created application. Oauth App info
  • Reset secret - Reset Client Secret for the app.
  • Revoke tokens - Revoke all user tokens.
  • Delete - Delete the application.

Была ли эта статья полезной?