我的客戶正試圖通過OAuth連接到Gmail API您沒有權限訪問某些領域 - 的Gmail的OAuth
- That’s an error.
Error: invalid_scope
You don't have permission to access some scopes. Your project is trying to access scopes that need to go through the verification process.
{invalid = [https://www.googleapis.com/auth/gmail.readonly,https://www.googleapis.com/auth/plus.circles.members.read]}
If you need to use one of these scopes, submit a verification request.Learn more
Request Details client_id=809629540741-i1g780rbvhjf8r80rkr3vbeon6d5pq3t.apps.googleusercontent.com
That’s all we know.
有驗證域的鏈接,並與谷歌您的應用程序的整個驗證here
我的申請請求以下範圍:
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/plus.login
https://www.googleapis.com/auth/plus.me
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/plus.profile.emails.read
@DalmTo - 哪個範圍無效?哪一個我應該替換plus.circles.read? –
根據您發送的錯誤消息https://www.googleapis.com/auth/plus.circles.members.read無效 – DaImTo
如果您要求提供gmail.readonly,則存在驗證過程。我不要求plus.circles.members.read。也許plus.circles.members.read == plus.profile.emails.read? –