QuickSight Embed add Domain with https://localhost

ぃ、小莉子 提交于 2021-02-11 06:57:39

问题


I have localhost with https and now I want to add this domain into QuickSight Dashboard to use Embed feature, but I have this error: This Domain is not supported. QuickSight dashboards can only be embedded in valid https domains. What is the best practice for us to testing QuickSight Embed in development environment ? Thanks.


回答1:


Quicksight requires that dashboard access be from https and allowed domains.

Add the domains(s) you'll be using as allowed domains via Manage Quicksight / Domains and Embedding. These need to include the port number if it's not the standard one. For example, I added something like https://dev.company.net:4200

To make your local requests appear to come from this host, add this to your local /etc/hosts:

127.0.0.1 dev.company.net

I used mkcert to create a locally-trusted development certificate, so that I can access my local server via https.

Then, go to your local server via https://dev.company.net:4200 (with your own domain and port).



来源:https://stackoverflow.com/questions/63878401/quicksight-embed-add-domain-with-https-localhost

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!