# How Elasticsearch does verify JWT tokens?

**URL:** <https://discuss.elastic.co/t/how-elasticsearch-does-verify-jwt-tokens/361581>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [June 17, 2024, 12:29pm UTC](https://discuss.elastic.co/t/how-elasticsearch-does-verify-jwt-tokens/361581 "2024-06-17T12:29:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 17, 2024, 7:11pm UTC](https://discuss.elastic.co/t/how-elasticsearch-does-verify-jwt-tokens/361581/8 "2024-06-17T19:11:31Z")

</div>

did you try with single quotes

`curl -X GET 'https://xxx-xxx:9200/_security/_authenticate' -H 'ES-Client-Authentication: SharedSecret 0qUPuF ****mzvjG' -H 'Authorization: Bearer eyJhbGciOiJSUzI1N***** Hq-Sf-T-lHyYWotGyWL4k_g'`

---

_[View the full topic](https://discuss.elastic.co/t/how-elasticsearch-does-verify-jwt-tokens/361581)._
