创建 OAuth 应用程序

您可以在您的账号下创建 OAuth 应用程序。 Only you can change its credentials or delete an OAuth app to revoke its access.

用例

Some of the most common uses for this feature include:

  • OAuth apps allow you to make authorized requests to the Crowdin API.
  • OAuth apps are often used as a single sign-on service. You can allow users to sign in to your service with their Crowdin accounts.

添加新应用

To add a new application, follow these steps:

  1. In the upper-right corner, click on your profile picture and select Settings. 账户设置
  2. Switch to the OAuth Applications tab and click New Application. OAuth 应用程序部分
  3. In the appeared dialog, specify the following information:
    • Name and Description – (optional) will be displayed to users when they authorize the app to access their Crowdin accounts.
    • Authorization callback URLs – the URLs to which users will be sent after they authorize with Crowdin. You can add multiple URLs separated by commas (no need to use quotes).
    • Select the access your app needs from the list of available Scopes.
  4. 点击 创建
    Create OAuth App
Note: By default, newly created OAuth apps are restricted to the app owner’s Crowdin projects. To make them available Crowdin-wide, [Contact Support Team](https://zh.crowdin.com/contacts) with the respective request.

修改 OAuth 应用程序

After you create an OAuth application, you can make changes to it. Go to your account’s Settings > OAuth Applications to see the list of OAuth apps created under your account, the dates the apps were created, and how many users are using each app.

Click in the Actions column on the necessary app to open the context menu. Oauth App Context Menu

Using the available options, you can do the following:

  • Edit – update the application name, description, URLs, and scopes. 访问所创建应用程序的客户端 ID 和客户端密钥。 Oauth App info
  • Reset secret – Reset the Client Secret for the app.
  • Revoke tokens – Revoke all user tokens.
  • Delete – Delete the application.

本文是否有帮助?