从服务帐户进行身份验证。在Google App Engine中,程序化IAP身份验证失败

时间:2019-11-25 19:44:20

标签: google-app-engine google-authentication

我正在尝试对其他应用程序(项目)进行编程身份验证。我们已遵循here中列出的说明。我们正在App Engine标准版上使用python 3.7。

默认服务帐户(从其启动身份验证)已添加到应用程序(正在被访问)的访问列表中。

response = iap_authentication.make_iap_request(url, client_id)   

我们陷入了以下错误。 make_iap_request类是here中的代码(无更改)。有人有运气做这项工作吗?请帮忙。

exception: Bad response from application: 502 / {'Content-Type': 'text/html; charset=UTF-8', 'Referrer-Policy': 'no-referrer', 'Content-Length': '1613', 'Date': 'Fri, 15 Nov 2019 00:44:06 GMT', 'Alt-Svc': 'quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000'} / '<!DOCTYPE html>\n<html lang=en>\n <meta charset=utf-8>\n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
\n <title>Error 502 (Server Error)!!

1 个答案:

答案 0 :(得分:0)

这是目前已知的问题,目前有一个公共问题跟踪器可以解决该问题。将链接添加为书签,以跟踪更新。 [1]

[1] https://issuetracker.google.com/144749437