Title: Getting JWT Token
Last modified: June 2, 2020

---

# Getting JWT Token

 *  Resolved [heretsu](https://wordpress.org/support/users/heretsu/)
 * (@heretsu)
 * [6 years ago](https://wordpress.org/support/topic/getting-jwt-token/)
 * Hey guys, I just installed the plugin and configurated it but I’m missing a JWT
   Token, where I can get this and where do I have to store it?
 * I’ve tried it with: `define('JWT_AUTH_SECRET_KEY', 'random-security-key');`
 * whereas random-security-key is replaced with my SECURE_AUTH_KEY already existing
   in my wp-config file.
 * When inserting my URL ([https://elithairtransplant.com/german/?rest_route=/simple-jwt-login/v1/autologin&jwt=JWT](https://elithairtransplant.com/german/?rest_route=/simple-jwt-login/v1/autologin&jwt=JWT))
   into a new browser tab, I get the following error:
 * `{"success":false,"data":{"message":"Wrong Request.","errorCode":23}}`
 * I guess it might be because of a wrong JWT Token.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-jwt-token%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [6 years ago](https://wordpress.org/support/topic/getting-jwt-token/#post-12930116)
 * Hello,
 * The error that you get is generated by the fact that the JWT is not OK. You can
   validate you JWT on [https://jwt.io/](https://jwt.io/)
 * For this plugin, there is no need to define anything. I try to make the User 
   Interface configuration as easy as possible.
 * Currently, the plugin does not generate a JWT. The plugin just uses already generated
   JWT token to log in users.
 * I’m working on a version 2.0 for this plugin, and I will add the functionality
   to generate a JWT.
 * Hopefully, by the end of the week, I will come back with updates.
 * Best regards.
 *  Plugin Author [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/getting-jwt-token/#post-12984441)
 * Hello,
 * Version 2.0.0 was released.
 * New routes have been added for generating and refreshing tokens.
 *     ```
       POST /simple-jwt-login/v1/auth
       ```
   
 * and
 *     ```
       POST /simple-jwt-login/v1/auth/refresh
       ```
   
 * Please have a look and let me know if it fits your needs.
 * Also, if you like this plugin, please don’t forget to rate it.
 * Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Getting JWT Token’ is closed to new replies.

 * ![](https://ps.w.org/simple-jwt-login/assets/icon-256x256.png?rev=2106097)
 * [Simple JWT Login – Allows you to use JWT on REST endpoints.](https://wordpress.org/plugins/simple-jwt-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-jwt-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-jwt-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-jwt-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-jwt-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-jwt-login/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/getting-jwt-token/#post-12984441)
 * Status: resolved