title: Get context in nextjs
body: <p>I am using Next.js and i want to get the auth0 data in <code>_app.js</code>.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>AppComponent.getInitialProps = async (ctx) =&gt; {
    const { req, res } = ctx;
    const tokenCache = auth0.tokenCache(req, res);
    const { datToken } = await tokenCache.getAccessToken();
  
    return { t: datToken }
  }</code></pre>
  </div>
  </div>
  </p>
  <p>But when i do this i get:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>Server Error
  Error: Request is not available</code></pre>
  </div>
  </div>
  </p>
  <p>Why i get this error, and how to get data from auth0 in <code>_app.js</code>?</p>