# Create a JWT for a given email address?

**URL:** <https://community.auth0.com/t/create-a-jwt-for-a-given-email-address/7770>\
**Category:** Get Help\
**Tags:** jwt\
**Created:** [August 7, 2017, 4:38pm UTC](https://community.auth0.com/t/create-a-jwt-for-a-given-email-address/7770 "2017-08-07T16:38:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christian.johansen](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@christian.johansen](https://community.auth0.com/u/christian.johansen)\
**Post date:** [August 7, 2017, 4:38pm UTC](https://community.auth0.com/t/create-a-jwt-for-a-given-email-address/7770/1 "2017-08-07T16:38:41Z")

</div>

Is there any way I can obtain a valid JWT from the Auth0 API based solely on an email address? We usually use passwordless logins, but in some cases, I want to give users a one-time URL that just logs them right in. To do that I need to get a JWT that contains their email address (which may or may not have been used to log in with passwordless before). Can it be done?

---

<div class="post-metadata">

**Author:** ![christian.johansen](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@christian.johansen](https://community.auth0.com/u/christian.johansen)\
**Post date:** [August 7, 2017, 5:45pm UTC](https://community.auth0.com/t/create-a-jwt-for-a-given-email-address/7770/2 "2017-08-07T17:45:22Z")

</div>

I’ll answer this myself: I see that by default Auth0 uses my client secret to sign the JWT. Thus, I can easily create and sign the JWT myself using the tools in the SDK. KTHX.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/create-a-jwt-for-a-given-email-address/7770/3 "2018-03-02T05:55:48Z")

</div>


