Title: JWT Token returned null
Last modified: October 29, 2021

---

# JWT Token returned null

 *  [aliyar145](https://wordpress.org/support/users/aliyar145/)
 * (@aliyar145)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/jwt-token-returned-null/)
 * I am trying to get the token, but it is giving me error. These are the headers
   that i am receiving back :
 * `Error headers {connection: Upgrade, cache-control: no-cache, must-revalidate,
   max-age=0, date: Fri, 29 Oct 2021 16:26:15 GMT, x-nginx-cache: WordPress, vary:
   Accept-Encoding, referrer-policy: no-referrer-when-downgrade, content-type: text/
   html; charset=UTF-8, upgrade: h2,h2c, server: Apache, x-endurance-cache-level:
   2, location: https://*********.com/wp-json/jwt-auth/v1/token, host-header: c2hhcmVkLmJsdWVob3N0LmNvbQ
   ==, content-length: 0, x-redirect-by: WordPress, expires: Wed, 11 Jan 1984 05:
   00:00 GMT}`

Viewing 1 replies (of 1 total)

 *  Thread Starter [aliyar145](https://wordpress.org/support/users/aliyar145/)
 * (@aliyar145)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/jwt-token-returned-null/#post-15019584)
 * Also the body is as follows:
 * Body `{"success":false,"statusCode":403,"code":"jwt_auth_no_auth_header","message":"
   Authorization header not found.","data":[]}`

Viewing 1 replies (of 1 total)

The topic ‘JWT Token returned null’ 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/)

## Tags

 * [authorization](https://wordpress.org/support/topic-tag/authorization/)
 * [token](https://wordpress.org/support/topic-tag/token/)

 * 1 reply
 * 1 participant
 * Last reply from: [aliyar145](https://wordpress.org/support/users/aliyar145/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/jwt-token-returned-null/#post-15019584)
 * Status: not resolved