# How to create Private key and used in server for validation

**URL:** <https://community.auth0.com/t/how-to-create-private-key-and-used-in-server-for-validation/60891>\
**Category:** Get Help\
**Tags:** jwt, auth0\
**Created:** [April 11, 2021, 6:52am UTC](https://community.auth0.com/t/how-to-create-private-key-and-used-in-server-for-validation/60891 "2021-04-11T06:52:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mail4mithu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mail4mithu/32/12776_2.png) [@mail4mithu](https://community.auth0.com/u/mail4mithu)\
**Post date:** [April 11, 2021, 6:52am UTC](https://community.auth0.com/t/how-to-create-private-key-and-used-in-server-for-validation/60891/1 "2021-04-11T06:52:11Z")

</div>

We are using Auth0 for authentication and authorization for application.  
We use RS256 alg to know how to create a Private Key and share it with a different server to validate the JWT token.

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 12, 2021, 12:43pm UTC](https://community.auth0.com/t/how-to-create-private-key-and-used-in-server-for-validation/60891/3 "2021-04-12T12:43:08Z")

</div>

Hi @mail4mithu,

Would you mind providing more information about your app such as which technologies you are using?

For JWT validation, there are several examples in the backend Quickstarts. You might be able to find an example for your use case there:

> **[Auth0 Backend/API Quickstarts](https://auth0.com/docs/quickstart/backend)**
>
> Browse backend/api quickstarts to learn how to quickly add authentication to your app.

---

<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:** [April 27, 2021, 12:43pm UTC](https://community.auth0.com/t/how-to-create-private-key-and-used-in-server-for-validation/60891/4 "2021-04-27T12:43:43Z")

</div>

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