Google 的用戶端 ID 和用戶端密鑰。
您必須指派 Google 用戶端 ID (用於 OAuth 2.0 要求,識別要求來源) 和用戶端密碼 (用於防止要求偽造)。Google 用戶端 ID 和用戶端密鑰可以是您選擇的任何網址安全字串值。您必須確保只有 Google 和您的服務能看到用戶端密鑰。
選用範圍字串。
視 API 提供的使用者資料量和類型而定,您可能需要定義代表不同類別使用者資料的範圍。這樣一來,合作夥伴就能要求使用者授權存取特定類型的資料,並將用戶端可用的資料限制在授權範圍內。具體來說,如果您的服務提供的資料超出與 Google 整合所需的範圍,您可以使用範圍僅授予部分資料的存取權。
[[["容易理解","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-07-29 (世界標準時間)。"],[[["Before integrating with Google services (excluding Google Assistant), gather necessary information like authorization and token endpoint URLs and contact your developer relations representative."],["You need to provide Google with a client ID and secret, which can be any URL-safe string, and ensure the client secret remains confidential."],["When setting up your authorization endpoint, allowlist the provided `redirect_uri` for Google's client ID."],["Optionally, you can enhance security by implementing a token revocation endpoint, Cross-Account Protection, and defining scopes to limit data access for Google."],["To initiate the process, locate your Google API Project ID within the Google API Console."]]],[]]