# Authentication failed for Elasticsearch and Kibana

**URL:** <https://discuss.elastic.co/t/authentication-failed-for-elasticsearch-and-kibana/314931>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security, kql-kibana-query-language\
**Created:** [September 22, 2022, 9:45am UTC](https://discuss.elastic.co/t/authentication-failed-for-elasticsearch-and-kibana/314931 "2022-09-22T09:45:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahsan\_Yazdani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahsan_yazdani/32/98900_2.png) [@Ahsan\_Yazdani](https://discuss.elastic.co/u/Ahsan_Yazdani)\
**Post date:** [September 22, 2022, 9:45am UTC](https://discuss.elastic.co/t/authentication-failed-for-elasticsearch-and-kibana/314931/1 "2022-09-22T09:45:45Z")

</div>

I have download Kibana from git clone directory according to the instructions mentioned in a question on [elastic.co](http://elastic.co) like this:  
**git clone [https://github.com/[YOUR\_USERNAME]/kibana.git](https://github.com/%5BYOUR_USERNAME%5D/kibana.git) kibana**  
**cd kibana**  
**git fetch origin**  
**git checkout v7.10.2**  
I have installed nvm and node and npm and yarn. Basically I want to generate a plugin and I have succeeded in it. but when I start kibana to test the plugin it gives me authentication error on browser side.  
yarn kbn bootstrap  
node scripts/generate\_plugin my\_plugin\_name  
and I have generated a plugin  
when I write command  
yarn es snapshot --oss" and  
yarn start --oss  
It gives me authentication error even kibana version is on basic version like 7.10.2  
node version is 10.23.1  
npm version is 6.14.10  
yarn version is 1.22.19  
**so need your help guys to get out in this issue.**

---

<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:** [October 20, 2022, 9:46am UTC](https://discuss.elastic.co/t/authentication-failed-for-elasticsearch-and-kibana/314931/2 "2022-10-20T09:46:31Z")

</div>

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