Embedding the open search dashboard in react webapp

0

We created the dashboard in open search dashboard. We clicked share and generate link as saved object and copied iFrame code. I pasted the coped code in the react app and ran from local machine i.e local host. It did not render the dashboard views, but it failed with error saying X-Frame-Options is not allowing the open search dashboard to be embedded in local host .

I guess we need to set this X-Frame-Options from the server side. Since the Open search dashboard is hosted and managed by aws, I am not sure how to make the dashboard server to allow it to render it on our website hosted in our domain or in local host.

Any help on this topic will be super helpful ?

I posted this question in open search forum - https://forum.opensearch.org/t/embedding-the-open-search-dashboard-in-react-webapp/12237?u=gvnavin .

But it seems the forum is not active much to get response and resolution.

1개 답변
0
수락된 답변

We check this with AWS support. It looks like the open search dashboard is embeddable when the url is not having any access control. We have cognito based authorization added on top of open search. Hence it is not working.

답변함 일 년 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠