I write an add-ons, and publish it.

But when the user open that first, it will see:

enter image description here

enter image description here

It show "This app isn't verified", how should i setting my app's configuration to fix it?


This has been addressed here in Requesting verification docs:

Requirements

In order to submit your OAuth client for review and verification, you must:

Own a domain and have verified ownership with Google, and Have a page describing your app's privacy policy hosted within the domain. You do not need to publish your app from an account in this domain. Steps

  1. In the Apps Script editor, select File > Project properties > Scopes. 2. Make a note of all the scopes your script project uses.
  2. Ensure that you have access to the Cloud Platform project for your Apps Script Project. If your project resides in a Team Drive, you must associate it with a new Cloud Platform project. Access the API Console by selecting Resources > Cloud platform project… In the dialog that opens, click the top link, which is typically something like [Script Name] - project-id-123456789012. This opens your script's Cloud Platform project.
  3. If you can't find the left nav bar, click the menu icon in the top left.
  4. In the nav bar, select APIs & services > Credentials.
  5. On the OAuth consent screen tab, fill in your Privacy policy URL. This URL must be hosted in a domain you own.
  6. On the Credentials tab, make a note of the Client ID for the Apps Script OAuth client.
  7. In the upper-right corner of the API Console, select ⋮ > Project settings.
  8. Make a note of the Project ID for your Cloud project.
  9. File a review request of your project’s OAuth client. You'll need the client and project IDs you noted, as well as your privacy policy URL and the list of scopes your app requires.

Most verification requests receive a response within 24 to 72 hours. When verification of your OAuth client is confirmed, your app is verified.