Configure Integration & Deployment

Last Updated on : 2024-04-16 07:25:07download

You can view the deployment method of a running SaaS, edit and get its domain name, and also authorize third-party applications to log in to SaaS applications without entering passwords.

View SaaS deployment method

You can make the SaaS applications fully deployed on the Tuya server or adopt hybrid deployment. The following figure shows the differences between the two deployment methods.

Configure Integration & Deployment

During the creation process, you specify how to deploy the SaaS application, which cannot be modified in the future. However, you can view the deployment method and configure the domain name. For more information, see SaaS Management.

  1. Log in to the Tuya Developer Platform.

  2. In the left-side navigation bar, choose Cloud > SaaS Development > SaaS Management.

  3. Select a running SaaS and click Configure SaaS to enter the details page.

  4. Choose Integration & Deployment > SaaS Deployment.

  5. You can take the following actions depending on how your SaaS application is deployed.

    • Fully Deployed on the Tuya Server: You can modify the second-level domain name under the tuyasaas top-level domain name.

    • Hybrid Deployment: You can customize the domain name.

      Configure Integration & Deployment

Authorize third-party login

To log in to your SaaS application through your own user system without entering a password, take the following steps to configure the required parameters.

  1. Log in to the Tuya Developer Platform.

  2. In the left-side navigation bar, choose Cloud > SaaS Development > SaaS Management.

  3. Select a running SaaS and click Configure SaaS to enter the details page.

  4. Choose Integration & Deployment > Third-Party Login.

  5. Enter the authorization information as prompted and click Save. The following table describes the configuration items.

    Item Description
    Key Enter the AppKey issued by the third-party service to the SaaS Development Framework. This item is used for the interface signature.
    Secret Enter the AppSecret issued by the third-party service to the SaaS Development Framework. This item is used for the interface signature.
    Web Specifies whether to enable third-party login on the web. If this toggle switch is turned on, you can use a third-party account to log in to the SaaS application. If this toggle switch is turned off, the third-party login feature is disabled.
    Protocol type The protocol types for third-party login, such as CAS2.0, CAS3.0, and custom.
    Navigation URL Enter the SaaS domain name that you log in with a third-party account. Note that it ends with /login.
    Validation URL Enter the interface URL of the consumption ticket. Be sure to enter the domain name of the project environment.
    Mobile Specifies whether to enable third-party login on the mobile app. If this toggle switch is turned on, you can use a third-party account to log in to the SaaS application. If this toggle switch is turned off, the third-party login feature is disabled.
    Domain name The domain name of the mobile project environment.