title: Symfony React refresh JWT automatically when cookie expires
body: <p>I'm building a Symfony React application I added the <code>lexik_jwt_authentication</code> bundle to handle JWT Authentication. I'm storing the token in an HTTP Only cookie.
  I added the <code>gesdinet refresh token</code> bundle but I don't know if I should refresh it from Symfony event listener or from React with a <code>timeout function</code>.</p>
  <p><strong>How could I refresh the token when the cookie expires ?</strong></p>