Title: HTTP Only cookie?
Last modified: June 22, 2021

---

# HTTP Only cookie?

 *  [jahmansoldat](https://wordpress.org/support/users/jahmansoldat/)
 * (@jahmansoldat)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/http-only-cookie-2/)
 * Hi, is there a way to set the received token to be set as HTTPOnly cookie, it
   would be safer than just put the cookie right in browser and easy accessible,
   if so, is it possible to customize the expire date of it?
 * Thanks

The topic ‘HTTP Only cookie?’ 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: [jahmansoldat](https://wordpress.org/support/users/jahmansoldat/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/http-only-cookie-2/)
 * Status: not resolved