title: Should I explicitly send the Refresh Token to get a new Access Token - JWT
body: <p>In my application, I return an access token and a refresh token when a user logs in successfully. The expiration times for access and refresh token have been set to 10 and 40 minutes respectively. (I should do some more research on those values. This is just for testing)</p>
  
  <p>I used the implementation described in following article</p>
  
  <p><a href="http://www.svlada.com/jwt-token-authentication-with-spring-boot/" rel="noreferrer">http://www.svlada.com/jwt-token-authentication-with-spring-boot/</a></p>
  
  <p>Let's say I invoke a request to the server after 10 minutes of the login in. Since the access token is expired, I am getting 401 error response. </p>
  
  <p>However, as a beginner, I find it difficult to understand whether I need to send the refresh token explicitly in order to obtain a new access token. If I should do so, how to do that? I should send the refresh token as what? a header? </p>
  
  <p>Or else, when my request is rejected by the server since the access token is expired, should the refresh token itself send a request automatically to the server in order to obtain a new access token? </p>
  
  <p>I found it hard to understand the nature of the behavior of refresh token from the resources I found on the net. Kindly clarify me on these questions.</p>