簡體   English   中英

試圖在沒有OAuth同意屏幕的情況下授權AWS Lambda進行Google Calendar API調用

[英]Attempting to Authorize AWS Lambda for Google Calendar API Call without OAuth Consent Screen

我正在編寫一個Alexa技能,它將使用Google Calendar API根據我的Google日歷內容為我提供自定義回復。 我基本上已經完成了,除了一個絆腳石。 當我嘗試從AWS Lambda調用API時,出現以下錯誤:

Your browser has been opened to visit:

https://accounts.google.com/o/oauth2/auth?client_id=235499230491-5nkukk98kfnt16fvtmm2acrgq4r4ucr2.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.readonly&access_type=offline&response_type=code

If your browser is on a different machine then exit and re-run this application with the command-line parameter

--noauth_local_webserver

我想知道是否可以通過任何方式驗證此AWS實例以接受我的Google Calendar API。 有什么想法,StackOverflow?

您需要使用Google服務帳戶。

這些用於服務器到服務器應用程序。

https://developers.google.com/identity/protocols/OAuth2ServiceAccount

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM