title: django-oauth-toolkit to issue a JWT token
body: <p>Tech Stack Django1.10.8 + Python3.6 + docker + React + Axios.js</p>
  
  <p>I have a situation where I need to make a server to server call and for this I am using Django-OAuth-toolkit. How can I convert this token to issue JWT token instead?</p>
  
  <p>{
      "access_token": "txxxxxxxxxxxxxxxxxxxxxFB45a",
      "expires_in": 36000,
      "token_type": "Bearer",
      "scope": "read write groups",
      "refresh_token": "16oKxxxxxxxxxxxxxxxxxxxxx"
  }</p>
  
  <p>to</p>
  
  <p>{
      "access_token": "xxxxxxxx.xxxxxx.xxxxx",
      "expires_in": 36000,
      "token_type": "Bearer",
      "scope": "read write groups",
      "refresh_token": "xxxxxxxx.xxxxxx.xxxxx"
  } </p>
  
  <p>I have gone through <a href="https://github.com/Humanitec/django-oauth-toolkit-jwt/" rel="nofollow noreferrer">https://github.com/Humanitec/django-oauth-toolkit-jwt/</a>
  but I think the version I am using of django-oauth-toolkit are incompatible. </p>