# Embed Kibana iframe in react app and one time authenticate with aws cognito user for both (react app & kibana)

**URL:** <https://discuss.elastic.co/t/embed-kibana-iframe-in-react-app-and-one-time-authenticate-with-aws-cognito-user-for-both-react-app-kibana/241231>\
**Category:** Kibana\
**Tags:** kibana\
**Created:** [July 15, 2020, 7:07am UTC](https://discuss.elastic.co/t/embed-kibana-iframe-in-react-app-and-one-time-authenticate-with-aws-cognito-user-for-both-react-app-kibana/241231 "2020-07-15T07:07:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuppusamy\_k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kuppusamy_k/32/72160_2.png) [@Kuppusamy\_k](https://discuss.elastic.co/u/Kuppusamy_k)\
**Post date:** [July 15, 2020, 7:07am UTC](https://discuss.elastic.co/t/embed-kibana-iframe-in-react-app-and-one-time-authenticate-with-aws-cognito-user-for-both-react-app-kibana/241231/1 "2020-07-15T07:07:45Z")

</div>

Hi Guys,

I have a requirement for my dashboard is to embed kibana iframe into my react application, for that i need to follow up below 2 conditions

1. One time login for react app configured with aws cognito user pool. after login dashboard home page have kibana iframe should load automatically without any authentication
2. All other Api's from my node backend should validate cognito token before processing API

Thanks,

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [July 16, 2020, 8:20am UTC](https://discuss.elastic.co/t/embed-kibana-iframe-in-react-app-and-one-time-authenticate-with-aws-cognito-user-for-both-react-app-kibana/241231/2 "2020-07-16T08:20:37Z")

</div>

Hi, @Kuppusamy_k. What is your question exactly? AWS Cognito provides some docs for Kibana integration.

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [July 16, 2020, 8:42am UTC](https://discuss.elastic.co/t/embed-kibana-iframe-in-react-app-and-one-time-authenticate-with-aws-cognito-user-for-both-react-app-kibana/241231/4 "2020-07-16T08:42:08Z")

</div>

> **[Get started with Amazon Elasticsearch Service: Use Amazon Cognito for Kibana...](https://aws.amazon.com/blogs/database/get-started-with-amazon-elasticsearch-service-use-amazon-cognito-for-kibana-access-control/)**
>
> Welcome to this introductory series on Elasticsearch and Amazon Elasticsearch Service (Amazon ES). In this and future blog posts, we provide the basic information that you need to get started with Elasticsearch on AWS. Introduction On April 2, 2018,...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 13, 2020, 8:42am UTC](https://discuss.elastic.co/t/embed-kibana-iframe-in-react-app-and-one-time-authenticate-with-aws-cognito-user-for-both-react-app-kibana/241231/5 "2020-08-13T08:42:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
