【发布时间】:2021-07-11 07:58:56
【问题描述】:
我的前端和后端部署在 Google App Engine 中。
我可以从我的 Angular 应用程序中请求我的烧瓶后端,但是当我使用 IAP 时它不起作用。 我有这个错误:
Access to XMLHttpRequest at 'https://backend' from origin 'https://frontend' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
我试图这样做:https://cloud.google.com/iap/docs/authentication-howto?hl=fr#iap_make_request-python 但它不起作用。如果有人有想法...
【问题讨论】:
-
我在这个问题中找到了解决方案:stackoverflow.com/questions/60089830/…
标签: angular google-app-engine flask google-cloud-platform in-app-purchase