# AWS opensearch iframe embedding issues on website

**URL:** <https://forum.opensearch.org/t/aws-opensearch-iframe-embedding-issues-on-website/23231>\
**Category:** OpenSearch\
**Tags:** discuss, troubleshoot, configure\
**Created:** [January 27, 2025, 7:29am UTC](https://forum.opensearch.org/t/aws-opensearch-iframe-embedding-issues-on-website/23231 "2025-01-27T07:29:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srishti26](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@srishti26](https://forum.opensearch.org/u/srishti26)\
**Post date:** [January 27, 2025, 7:29am UTC](https://forum.opensearch.org/t/aws-opensearch-iframe-embedding-issues-on-website/23231/1 "2025-01-27T07:29:04Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
AWS Opensearch

**Describe the issue** :  
AWS Openseach Iframe is Embedded into my vue.js website , but it is giving auth 401 errors, How can i successfully embedd my dashboard into my website

**Relevant Logs or Screenshots** :

Request URL:

[https://search-digivive-logging-dev-yxvak2pka774dqkfvp4.ap-south-1.es.amazonaws.com/\_dashboards/api/ism/apiCaller](https://search-digivive-logging-dev-yxvak2pka774dqkfvp4.ap-south-1.es.amazonaws.com/_dashboards/api/ism/apiCaller)

Request Method:

POST

Status Code:

401 Unauthorized

Referrer Policy:

strict-origin-when-cross-origin

---

<div class="post-metadata">

**Author:** ![Eugene7](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eugene7](https://forum.opensearch.org/u/Eugene7)\
**Post date:** [January 27, 2025, 12:17pm UTC](https://forum.opensearch.org/t/aws-opensearch-iframe-embedding-issues-on-website/23231/2 "2025-01-27T12:17:08Z")

</div>

Hi @srishti26 ,

Do you see any error messages in the OpenSearch logs?

---

<div class="post-metadata">

**Author:** ![Eugene7](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eugene7](https://forum.opensearch.org/u/Eugene7)\
**Post date:** [January 27, 2025, 2:50pm UTC](https://forum.opensearch.org/t/aws-opensearch-iframe-embedding-issues-on-website/23231/3 "2025-01-27T14:50:58Z")

</div>

Could you please also send your OpenSearch Dashboards settings or `opensearch_dashboards.yml` ? Also, please share the configurations of the enabled [authentication backends](https://opensearch.org/docs/latest/security/authentication-backends/authc-index/) in OpenSearch.

---

<div class="post-metadata">

**Author:** ![Eugene7](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eugene7](https://forum.opensearch.org/u/Eugene7)\
**Post date:** [January 27, 2025, 2:58pm UTC](https://forum.opensearch.org/t/aws-opensearch-iframe-embedding-issues-on-website/23231/4 "2025-01-27T14:58:39Z")

</div>

Also please check if the `opensearch_security.cookie.isSameSite` parameter is set to None.

> [@Set SameSite for cookies for opensearch dashboard](https://forum.opensearch.org/t/set-samesite-for-cookies-for-opensearch-dashboard/11881/2):
>
> @Niraj_Gusain opensearch\_security.cookie.isSameSite: "None" opensearch\_security.cookie.secure: true
