We use Next.js and Apollo in our project. We have to create SSR and SSG pages.
There is an async method getServerSideProps() in Next.js and we can use await for verifying token. Once you use something async in _app.js, you wont get a SEO markup.
How should we verify token on client and keep the SEO markup?