# JWT Realms not working using basic license

**URL:** <https://discuss.elastic.co/t/jwt-realms-not-working-using-basic-license/334580>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [May 29, 2023, 11:03am UTC](https://discuss.elastic.co/t/jwt-realms-not-working-using-basic-license/334580 "2023-05-29T11:03:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asimelastic](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@asimelastic](https://discuss.elastic.co/u/asimelastic)\
**Post date:** [May 29, 2023, 11:03am UTC](https://discuss.elastic.co/t/jwt-realms-not-working-using-basic-license/334580/1 "2023-05-29T11:03:25Z")

</div>

We are using basic license of elasticsearch 8.7.1 and want to implement JWT authentication, but when we add Realm for JWT authentication using token type = access-token getting following warning in log file:  
[WARN][o.e.x.s.a.RealmsAuthenticator] [ASALEEM] No authentication credential could be extracted using realms [reserved/reserved,file/default\_file,native/default\_native]. Realms [jwt/jwt2] were skipped because they are not permitted on the current license

So the question is do basic license of elasticsearch 8.7.1 support JWT authentication?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 29, 2023, 11:04am UTC](https://discuss.elastic.co/t/jwt-realms-not-working-using-basic-license/334580/2 "2023-05-29T11:04:45Z")

</div>

It does not. You can see this on [the subscriptions page](https://www.elastic.co/subscriptions).

---

<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:** [June 26, 2023, 11:05am UTC](https://discuss.elastic.co/t/jwt-realms-not-working-using-basic-license/334580/3 "2023-06-26T11:05:40Z")

</div>

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