با مجموعهها، منظم بمانید ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
سرویس گیرندگان Google OAuth که دامنه های OAuth حساس خاصی را درخواست می کنند، مشمول تأیید Google هستند.
اگر مشتری OAuth پروژه اسکریپت خود را تأیید نکنید، کاربران خارج از دامنه شما وقتی میخواهند اسکریپت شما را تأیید کنند، یک صفحه برنامه تأیید نشده را میبینند. یک جریان مجوز تأیید نشده به این کاربران اجازه میدهد تا برنامههای تأیید نشده را تأیید کنند و از آنها استفاده کنند، اما تنها پس از تأیید خطرات آنها را درک میکنند. تعداد کل کاربران برنامه تأیید نشده نیز محدود شده است.
این تغییر برای سرویس گیرندگان وب Google OAuth، از جمله آنهایی که توسط همه پروژههای Apps Script استفاده میشوند، اعمال میشود. با تأیید برنامه خود با Google ، می توانید صفحه برنامه تأیید نشده را از جریان مجوز خود حذف کنید و به کاربران خود اطمینان دهید که برنامه شما مخرب نیست.
برنامه های تایید نشده
افزونهها، برنامههای وب و سایر موارد استقرار (مانند برنامههایی که از Apps Script API استفاده میکنند) ممکن است نیاز به تأیید داشته باشند.
قابلیت کاربرد
اگر برنامه از دامنههای حساس OAuth استفاده میکند، صفحه برنامه تأیید نشده ممکن است به عنوان بخشی از جریان مجوز ظاهر شود. وجود آن (و جریان مجوز برنامه تأیید نشده حاصل) به این بستگی دارد که برنامه از چه حسابی منتشر شده است و چه حسابی سعی در استفاده از برنامه دارد. برای مثال، برنامههایی که به صورت داخلی در یک سازمان Google Workspace منتشر میشوند، منجر به جریان مجوز برنامه تأیید نشده برای حسابهای موجود در آن دامنه نمیشوند، حتی اگر برنامه تأیید نشده باشد.
جدول زیر نشان می دهد که چه موقعیت هایی منجر به جریان مجوز برنامه تأیید نشده می شود:
مشتری تایید شده است
Publisher یک حساب Google Workspace از مشتری A است
اسکریپت در درایو مشترک مشتری A است
Publisher یک حساب کاربری جیمیل است
کاربر یک حساب Google Workspace از مشتری A است
جریان احراز هویت عادی
جریان احراز هویت عادی
جریان احراز هویت عادی
جریان احراز هویت تأیید نشده
کاربر یک حساب Google Workspace است که متعلق به مشتری A نیست
1 هر حساب Gmail، از جمله حساب مورد استفاده برای انتشار برنامه.
درپوش کاربر
تعداد کاربرانی که میتوانند برنامهای را از طریق جریان برنامه تأییدنشده مجوز دهند محدود شده است تا سوءاستفاده احتمالی محدود شود. برای جزئیات به محدودیت های کاربر برنامه OAuth مراجعه کنید.
درخواست تایید
میتوانید تأییدیه مشتری OAuth که توسط برنامه شما و پروژه پلتفرم ابری (GCP) مرتبط با آن استفاده میشود، درخواست کنید. پس از تأیید برنامه شما، کاربران شما دیگر صفحه برنامه تأیید نشده را نخواهند دید. علاوه بر این، برنامه شما دیگر مشمول محدودیت کاربری نخواهد بود.
الزامات
برای ارسال مشتری OAuth برای تأیید، باید شرایط زیر را رعایت کنید:
شما باید صاحب یک وب سایت در یک دامنه باشید. سایت باید میزبان صفحات قابل دسترسی عمومی باشد که برنامه شما و خط مشی رازداری آن را توصیف می کنند. همچنین باید مالکیت سایت خود را با Google تأیید کنید .
علاوه بر این، شما باید دارایی های مورد نیاز زیر را داشته باشید:
نام برنامه . نام برنامه؛ این در صفحه رضایت نمایش داده می شود. باید با نام استفاده شده برای برنامه در مکانهای دیگر، مانند فهرست Google Workspace Marketplace برای برنامههای منتشر شده، مطابقت داشته باشد.
لوگوی اپلیکیشن . یک تصویر آرم برنامه JPEG، PNG، یا BMP برای استفاده در صفحه رضایت. حجم فایل آن باید 1 مگابایت یا کمتر باشد.
ایمیل پشتیبانی این ایمیلی است که در صفحه رضایت نمایش داده می شود تا کاربران در صورت نیاز به پشتیبانی برنامه با آن تماس بگیرند. این می تواند آدرس ایمیل شما یا یک گروه Google باشد که مالک یا مدیریت آن هستید.
دامنه های مجاز این فهرستی از دامنههای حاوی اطلاعاتی درباره برنامه شما است. همه پیوندهای برنامه شما (مانند صفحه سیاست حفظ حریم خصوصی مورد نیاز آن) باید در دامنه های مجاز میزبانی شوند.
آدرس صفحه اصلی برنامه مکان صفحه اصلی که برنامه شما را توصیف می کند. این مکان باید در یک دامنه مجاز میزبانی شود.
URL سیاست حفظ حریم خصوصی برنامه مکان صفحه ای که خط مشی رازداری برنامه شما را توصیف می کند. این مکان باید در یک دامنه مجاز میزبانی شود.
علاوه بر داراییهای مورد نیاز بالا، میتوانید به صورت اختیاری یک URL شرایط خدمات برنامه کاربردی ارائه دهید که به صفحهای اشاره میکند که شرایط خدمات برنامه شما را توصیف میکند. در صورت ارائه، این مکان باید در یک دامنه مجاز باشد.
دامنههای مجاز را فهرست کنید که اطلاعات برنامه شما (مانند خطمشی رازداری آن) در آن میزبانی میشود.
برای افزودن دامنه های برنامه خود، روی افزودن یا حذف دامنه ها کلیک کنید. گفتگوی حاصل تلاش میکند تا محدودههای APIهایی را که در کنسول Google Cloud فعال کردهاید (مانند سرویسهای پیشرفته ) بهطور خودکار شناسایی کند. می توانید با علامت زدن کادرهای مربوطه، دامنه ها را از این لیست انتخاب کنید.
این فهرست شناسایی خودکار همیشه شامل محدودههای استفاده شده توسط سرویسهای داخلی Apps Script نمیشود. شما باید این محدوده ها را در قسمت Manually Add scopes وارد کنید.
وقتی کارتان تمام شد، روی بهروزرسانی کلیک کنید.
وقتی همه اطلاعات مورد نیاز را وارد کردید، روی ذخیره کلیک کنید.
برای شروع درخواست تأیید، روی ارسال برای تأیید کلیک کنید.
اکثر درخواستهای تأیید در عرض 24 تا 72 ساعت پاسخ دریافت میکنند. میتوانید وضعیت تأیید را در بالای فرم صفحه رضایت OAuth بررسی کنید. وقتی تأیید مشتری OAuth شما تأیید شد، برنامه شما تأیید می شود.
تاریخ آخرین بهروزرسانی 2025-08-04 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-08-04 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eGoogle OAuth clients using sensitive scopes require verification, impacting Apps Script projects that access user data.\u003c/p\u003e\n"],["\u003cp\u003eUnverified apps display a warning screen to external users, limiting usage and requiring explicit user consent.\u003c/p\u003e\n"],["\u003cp\u003eVerification involves providing app details, a privacy policy, and authorized domains, ensuring user trust and removing limitations.\u003c/p\u003e\n"],["\u003cp\u003eApps Script projects can request verification through their associated Google Cloud project to gain user confidence and bypass usage restrictions.\u003c/p\u003e\n"],["\u003cp\u003eVerification is not necessary for Apps Script projects exclusively used within the same Google Workspace domain.\u003c/p\u003e\n"]]],[],null,["**Google OAuth clients that request certain sensitive OAuth scopes are\nsubject to verification by Google.**\n| **Note:** Verification is **not required** for Apps Script projects whose owner and users belong to the same Google Workspace domain or customer.\n\nIf you don't verify your script project's OAuth client, users outside your\ndomain see an *unverified app* screen when they try to authorize your script.\nAn *unverified authorization flow* allows these users to authorize unverified\napps and use them, but only after confirming they understand the risks. The\ntotal number of unverified app users is also capped.\n\nFor more information, see the following articles:\n\n- [Unverified Apps](https://support.google.com/cloud/answer/7454865)\n- [OAuth Application Verification FAQ](https://support.google.com/cloud/answer/9110914)\n- [Google API Services: User Data Policy](/terms/api-services-user-data-policy)\n\n**Figure 1**: Unverified app screen \n**Figure 2**: Unverified app authorization flow\n\nThis change applies to Google OAuth web clients, including those used by all\nApps Script projects. By\n[verifying your app with Google](#requesting_verification),\nyou can remove the unverified app screen from your authorization flow and\ngive your users confidence that your app is non-malicious.\n\nUnverified apps\n\nAdd-ons, web apps, and other deployments (such as apps that use the\n[Apps Script API](/apps-script/api)) may need verification.\n| **Note:** Add-ons are no longer verified as part of the [add-on review process](/workspace/add-ons/concepts/gmail-addon-review), and must be verified prior to publishing an add-on.\n\nApplicability\n\nIf the app uses sensitive OAuth scopes, the unverified app screen may appear\nas part of the authorization flow. Its presence (and the resulting unverified\napp authorization flow) depends on what account the app is published from and\nwhat account is attempting to use the app. For example, apps published\ninternally within a specific Google Workspace organization don't result in the\nunverified app authorization flow for accounts in that domain, even if the app\nhasn't been verified.\n\nThe following table illustrates what situations result in the unverified app\nauthorization flow:\n\n| | Client is verified | Publisher is a Google Workspace account of customer A | Script is in a shared drive of customer A | Publisher is a Gmail account |\n|------------------------------------------------------|--------------------|-------------------------------------------------------|-------------------------------------------|------------------------------|\n| User is a Google Workspace account of customer A | Normal auth flow | Normal auth flow | Normal auth flow | ***Unverified auth flow*** |\n| User is a Google Workspace account not of customer A | Normal auth flow | ***Unverified auth flow*** | ***Unverified auth flow*** | ***Unverified auth flow*** |\n| User is a Gmail account[**^1^**](#note1) | Normal auth flow | ***Unverified auth flow*** | ***Unverified auth flow*** | ***Unverified auth flow*** |\n\n**^1^**Any Gmail account, including the account used to\npublish the app.\n\nUser cap\n\nThe number of users who can authorize an app via the unverified app flow is\ncapped to limit possible abuse. See\n[OAuth application user limits](https://support.google.com/cloud/answer/9028764)\nfor details.\n\nRequesting verification\n\nYou can request a verification of the OAuth client used by your app and its\nassociated [Cloud Platform (GCP) project](/apps-script/guides/cloud-platform-projects).\nOnce your app is verified, your users will no longer see the unverified app\nscreen. In addition, your app will no longer be subject to the\n[user cap](#user_cap).\n\nRequirements\n\nIn order to submit your OAuth client for verification, you must satisfy the\nfollowing requirements:\n\n1. You must own a web site on a domain. The site must host publicly-accessible\n pages that describe your app and its privacy policy. You must also\n [verify your ownership of the site with Google](https://support.google.com/webmasters/answer/9008080?ref_topic=7440006).\n\n | **Note:** You do not need to publish your app from an account in this domain, but the domain owner must be an editor or owner of the script project.\n2. The [Google Cloud project](/apps-script/guides/cloud-platform-projects)\n your script project uses must be a\n [standard Google Cloud project](/apps-script/guides/cloud-platform-projects#standard_cloud_platform_projects)\n that you have edit access for. If your script is using its default Google Cloud project, you must\n [switch to a standard Google Cloud project](/apps-script/guides/cloud-platform-projects#switching_to_a_different_standard_gcp_project).\n\nIn addition, you must have the following **required** assets:\n\n- **Application name** . The name of the app; this is displayed on the consent screen. It should match the name used for the app in other locations, such as the [Google Workspace Marketplace](/workspace/marketplace) listing for published apps.\n- **Application logo**. A app logo JPEG, PNG, or BMP image to use in the consent screen. Its file size must be 1MB or less.\n- **Support email**. This is an email displayed on the consent screen for users to contact if they need app support. It can be your email address or a Google Group that you own or manage.\n- **Scopes** . The list of all the [scopes](/apps-script/concepts/scopes) your app uses. You can [view your scopes](/apps-script/concepts/scopes#viewing_scopes) in the Apps Script editor.\n- **Authorized domains**. This is a list of domains containing information about your app. All your application's links (such as its required privacy policy page) must be hosted on authorized domains.\n- **Application homepage URL**. The location of a homepage describing your app. This location must hosted on an authorized domain.\n- **Application privacy policy URL**. The location of a page describing your app's privacy policy. This location must be hosted on an authorized domain.\n\nIn addition to the above required assets, you can optionally provide an\n**Application terms of service URL** that points to a page describing your\napp's terms of service. If provided, this location must be in an authorized\ndomain.\n\nSteps\n\n1. If you have not done so already, [verify ownership of all the authorized domains](https://support.google.com/webmasters/answer/9008080?ref_topic=7440006) you use to host your script project's privacy policy and other information. The verified owners of the domains must be editors or the owner of the script project.\n2. In the Apps Script project, click **Overview** info_outline. Under **Project OAuth Scopes**, copy the scopes that your script project uses.\n3. [Complete the OAuth consent screen for your application's\n Google Cloud project](/apps-script/guides/cloud-platform-projects#completing_the_oauth_consent_screen)\n using the text and URL assets you collected.\n\n 1. List the **Authorized domains** where your app's information (such as its privacy policy) are hosted.\n 2. To add your application scopes, click **Add or Remove Scopes** . The\n resulting dialog attempts to autodetect scopes for APIs you've enabled\n in the Google Cloud console (such as\n [advanced services](/apps-script/guides/services/advanced)). You can\n select scopes from this list by checking the corresponding boxes.\n\n This autodetected list doesn't always include scopes used by\n Apps Script [built-in services](/apps-script/guides/services).\n You must enter these scopes under **Manually add scopes**.\n\n When you're done, click **Update**.\n4. When you've entered all the required information, click **Save**.\n\n5. Click **Submit for verification** to start a verification request.\n\nMost verification requests receive a response within 24 to 72 hours.\nYou can check the **Verification status** at the top of the OAuth consent\nscreen form. When verification of your OAuth client is confirmed, your app is\nverified.\n| **Note:** If your app is verified and later you decide to [switch to another Google Cloud project](/apps-script/guides/cloud-platform-projects#switching_to_a_different_standard_gcp_project), you must repeat these steps to keep the app verified."]]