Hướng dẫn này sẽ chỉ cho bạn cách thiết lập OAuth2 để truy cập API bằng
thông tin đăng nhập riêng bằng tài khoản dịch vụ.
Bạn chỉ cần thực hiện các bước này một lần, trừ phi bạn thu hồi hoặc xoá thông tin xác thực OAuth2.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-12 UTC."],[[["This guide explains how to set up OAuth2 for API access using service accounts, requiring a Google Workspace domain and domain-wide delegation access."],["You need to generate a service account ID and JSON file before configuring the client library for service account authentication."],["The client library setup involves providing the private key JSON file path and delegate account ID in your configuration file or environment variables."],["Ensure no OAuth2 desktop or web app flow credentials are present in your configuration to prioritize Service Account authentication."]]],[]]