本篇文章更新時間:2019/02/16
如有資訊過時或語誤之處,歡迎使用 Contact 功能通知或向一介資男的 LINE 社群反應。
如果本站內容對你有幫助,歡迎贊助支持


對於沒有大量發信(>250封/日)的一般官網類型,我都會使用這款 Postman SMTP,一步一步設定,後面選用 Gmail API OAuth2.0 方式授權,這樣授權過可以跟本身帳號密碼模式切開,不會導致密碼變更就讓授權失效,是比較保險的方式。

但~ 最近幾次設定都顯示 400.發生錯誤。 錯誤:invalid_scope 的訊息,原本就放著不管沒去查,剛剛社團 ‎Oberon Lai‎ 大大分享才知道要加入一個 Group 才能完成驗證。

Google 的資訊如下:

Publicly available applications with access to certain user data must pass review. If you see an access error for your app, submit a request using our OAuth Developer Verification form.

For personal-use apps and those you are testing, join the Google group Risky Access Permissions By Unreviewed Apps, which allows you to approve data access with your personal and testing accounts. Members of this group can grant unverified apps access to their data. See the Google API Services User Data Policy for more information.

Ref: Choose Auth Scopes

Group Link: Risky Access Permissions By Unreviewed Apps

趕快筆記起來!

#新聞資訊 #Google #OAuth #invalid_scope #授權 #Gmail #API #WordPress #Postman #SMTP

- Powered by Mxp.TW -FB2WP-


Share:

作者: Chun

WordPress 社群貢獻者、開源社群推廣者。專注於 WordPress 外掛開發、網站效能最佳化、伺服器管理,以及 iDempiere 開源 ERP 導入與客製開發。曾參與 WordCamp Taipei 等社群活動,GitHub Arctic Code Vault Contributor。提供資訊顧問、WordPress 開發教學、主機最佳化與企業 ERP 整合服務。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *


文章
Filter
Apply Filters
Mastodon