Set authorization configurations for mini program template

After creating a mini program template, if you already uploaded one or more versions for it, you can set some configurations for the mini program template, for example, setting authorizations.

Procedure

  1. Go to Application Management > Mini Program Templates. Find the mini program template you created. Click on the target template.
  2. Under the Versions tab, you can set the authorization configurations for all versions or a specific version.
    image.png

Scenario

Steps

For all versions

  1. To set configurations for all versions, click Global Configuration.
  2. Enter the following propoerties to configure the Authorization list:
    • Server Domains in the authorization list can access to servers and make out-of-domain calls.
    • WAP URLs in the authorization list can access to mobile web pages (WAP pages) via the web-view component.
  1. Click Save to save the current global configurations. Once versions are released, the global configuration will take effect for all version.

For a specific version

  1. To set configurations for a specific version, go to the target version, click Configure under the Actions column.
  2. Enter the same propoerties as the previous global configurations.
  3. Click Save to save the current global configurations. Once versions are released, the global configuration will take effect for the specific version.

Next step

Release a mini program template