English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Manage Authorization

Last Updated on : 2022-02-23 08:47:47download

You can create multiple authorizations for a cloud project, allocate specific project resources such as assets, users, and API products to each authorization. This allows you to build a multi-dimensional authorization system.

Note: This topic only applies to Industry Solutions.

Login

  1. Visit My Cloud Projects.

  2. Click the target project.

  3. Click the Authorization tab.

    Manage Authorization

Cloud authorization

After a cloud project is created, Tuya IoT Development Platform generates a pair of authorization keys (client ID/client secret) for the project. You can use both keys to connect your cloud with the Tuya IoT Development Platform.

  • View the authorization key: In the Authorization Key section, you can view the key information of the project, including the client ID and client secret.

  • Edit information: You can click Edit to modify the Authorization Name and Description fields.

    Manage Authorization

Important: After you select a cloud project, the cloud project and its authorization information will be displayed on the Authorization tab. You cannot click Add Authorization on this page.

App authorization

Add app authorization

  1. Visit My Cloud Projects.

  2. Click the target project.

  3. Choose Authorization > App Authorization.

  4. On the App Authorization page, click Add Authorization.

    Manage Authorization
  5. In the Add Authorization dialog box, complete the required information. The apps for iOS and Android are supported.

    • iOS
      Manage Authorization
    • Android
      Manage Authorization
  6. Click OK.

View the app authorization

  • View the authorization key: In the Authorization Key section, you can view the key information of the app, including the client ID and client secret.

  • Edit information: You can click Edit to modify the following information:

    • iOS: Bundle Identifier, Application Name, and Description.
    • Android: SHA1, Application ID, Application Name, and Description.

WeChat mini program authorization

Add WeChat mini program authorization

  1. Visit My Cloud Projects.

  2. Click the target project.

  3. Choose Authorization > WeChat Mini Program Authorization.

  4. On the WeChat Mini Program Authorization page, click Add Authorization.

    Manage Authorization
  5. In the Add Authorization dialog box, complete the required information.

  6. Click OK.

    Manage Authorization