Title: Return JWT invalid
Last modified: January 10, 2019

---

# Return JWT invalid

 *  [botoxparty](https://wordpress.org/support/users/adamhammad/)
 * (@adamhammad)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/return-jwt-invalid/)
 * Hey,
 * So it seems that if I login to `/wp-admin` it invalidates the JWT token for the
   same user.
 * How would I go about returning an error saying that the JWT token has been invalidated?
 * Best,
    Adam

The topic ‘Return JWT invalid’ is closed to new replies.

 * ![](https://ps.w.org/jwt-authentication-for-wp-rest-api/assets/icon-256x256.jpg?
   rev=3372068)
 * [JWT Authentication for WP REST API](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [botoxparty](https://wordpress.org/support/users/adamhammad/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/return-jwt-invalid/)
 * Status: not resolved