title: Next-auth - How to update the session client side?
body: <p>I manage to update my session serverside, with new user data, but event after assigning it to my session object in [...nextauth.js], my session client side remains the old one. It doesn't refresh, event if I use <code>getSession()</code>.</p>
  <p>This code works for the back-end :</p>
  <pre><code>callbacks.session = async function session({ session, token }) {
    // we can fetch info from back end here to add it to the session   
    session.user = token.user;
    session.jti = token.jti;
  
    // If user is logged, we refresh his session
    if (token?.user?.id) {
      const url = routes.api.entities.shop.get.byId.build(token?.user?.id);
      let apiResp = await axios.get(url, {});
      session.user = { ...apiResp.data };
      token.user = { ...apiResp.data };
    }
  
    return session;
  };
  </code></pre>
  <p>How can I refresh the session in front-end ?</p>