Installazione dell'App di Crowdin

Installazione dell’App di Crowdin

Crowdin App could be installed in the Organization Settings > Apps page.

  1. You can find Organization Settings under the user icon in the top menu bar.
  2. Switch to the Apps page on the left menu bar and click Install Application.
  3. In the appeared dialog, paste in the Crowdin app Manifest URL and click Install.
  4. In the appeared window, you can select the categories of users that will be able to use the app: only organization admins or all users in the organization projects/resources. Additionally, you can select the projects where users will be able to use the app: all projects or selected projects.

Installed Event Communication Flow

Note: Installed Event is used only for authorization.type: "authorization_code".

When a Crowdin App is installed in the Organization Settings, the authorization flow takes place during which Crowdin Enterprise and Crowdin App exchange the authorization data (the authorization code is being exchanged for an access token). In the following illustration, you can see the events that take place during this process.

Comunicazione tra Crowdin Imprese e l'App di Crowdin

Let’s examine in detail each step that happens in the illustration:

  1. Installation of the Manifest URL - the user pastes in the Manifest URL in the Organization Settings > Apps and clicks Install.
  2. Fetching content from the Manifest URL - the request is sent to Crowdin App.
  3. Response: manifest JSON - Crowdin App returns the Manifest JSON that contains the data about the app.
  4. Manifest Data Validation - the received content is validated according to the structure and data of the Manifest JSON.
  5. Prompt to install - the information about the Crowdin App, as well as the list of permissions and the Install button is displayed to the user.
  6. Confirmation of the installation - the user confirms the installation of the Crowdin App.
  7. The Installed event - Crowdin Enterprise sends the Installed event with the authorization code to the Crowdin App for API token generation.
  8. Token request - Crowdin App sends the request for API token acquiring:



    grant_type: authorization_code

    Type: string

    Required: yes

    Description: The parameter is used for the flow specification of an OAuth app.


    Type: string

    Required: yes

    Description: Client ID for the app is received when the app is registered.


    Type: string

    Required: yes

    Description: Client Secret for the app is received when the app is registered.


    Type: string

    Required: yes

    Description: The code received from the install event.

  9. Access Token - authorization service returns the API access token and the refresh token.
  10. Success Code Response - Crowdin App returns the success status code (2xx) which confirms that the application installation was successfully finished. In case the status code is different, the application will be removed from the Crowdin Enterprise organization.

Questo articolo è stato utile?