title: How to keep users logged in after browser close with nuxt auth?
body: <p>I have the following inside my <code>nuxt.config.js</code> file:</p>
  <pre class="lang-js prettyprint-override"><code>auth: {
    strategies: {
      local: {
        scheme: 'local',
        token: {
          property: 'meta.token',
          global: true,
        },
        user: {
          property: 'data',
        },
        endpoints: {
          login: { url: '/auth/login', method: 'post' },
          logout: { url: '/auth/logout', method: 'post' },
          user: { url: '/auth/user', method: 'get' }
        }
      },
    }
  },
  </code></pre>
  <p>After a short (but still unknown amount of time for me), user is logged out. Also, after closing and opening the browser, user is always logged out. How could I persist the logged in state even after closing the browser? Also, why could be the reason for users be logged out after a short amount of time?</p>
  <p>Inspecting cookies I have in my bearer token:</p>
  <pre><code>Expires / Max-Age:&quot;Session&quot;
  </code></pre>
  <p>And I have in my local storage:</p>
  <pre><code>auth._token_expiration.local:&quot;1656703495434&quot;
  </code></pre>