title: How to store JWT tokens in HttpOnly cookies with DRF djangorestframework-simplejwt package?
body: <p>I've been using <code>djangorestframework-simplejwt</code> for a while and now I want to store the JWT in the cookies (instead of localstorage or front-end states) so that every request that the client makes, contains the token.</p>
  <p>So did some research on it and the most relevant result I found was <a href="https://stackoverflow.com/questions/56587690/django-rest-framework-using-httponly-cookie">this stackoverflow question</a>, in which the author is using <code>djangorestframework-jwt</code> package which has a pre-configured setting for cookies called <code>JWT_AUTH_COOKIE</code>. So figured switching to that package but then ended up finding out that <a href="https://github.com/jpadilla/django-rest-framework-jwt/issues/484" rel="noreferrer">the package is pretty much dead</a>.</p>
  <p>Although there is a <a href="https://github.com/Styria-Digital/django-rest-framework-jwt" rel="noreferrer">fork</a> for the <code>djangorestframework-jwt</code> that is recommended to use instead, I was wondering is there anyway to set the JWTs in HttpOnly cookies with the <code>djagnorestframework_simplejwt</code> itself?</p>