# Get JWT with custom Claim in the body

**URL:** <https://forum.keycloak.org/t/get-jwt-with-custom-claim-in-the-body/2601>\
**Category:** Getting advice\
**Tags:** authentication\
**Created:** [May 8, 2020, 3:21pm UTC](https://forum.keycloak.org/t/get-jwt-with-custom-claim-in-the-body/2601 "2020-05-08T15:21:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m4iku](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@m4iku](https://forum.keycloak.org/u/m4iku)\
**Post date:** [May 8, 2020, 3:21pm UTC](https://forum.keycloak.org/t/get-jwt-with-custom-claim-in-the-body/2601/1 "2020-05-08T15:21:31Z")

</div>

Hello, I am trying to perform a test implementation with KeyCloak, what I am looking to do is generate a jwt token with keycloak with a GET or POST request with a CUSTOM variable and KeyCloak return the JWT with that variable in a CUSTOM CLAIM.

Is this action possible?

Or am I required to have users previously added to KeyCloak?

I hope someone can get me out of this doubt.
