Apollo-client + next.js + auth0

Is it possible to set this up?

From what I can see, @auth0/auth0-react doesn’t work for server-side rendered

So you have to route graphql traffic through a proxy endpoint to the actual graphql server so that you can append the auth0 token to the headers (through the next.js endpoint).

The issue we’re having is we are not getting any of the error validation you normally get with apollo client… none of the type errors are surfaced, so we just get back useless errors like “400 error”.

Has anyone ever successfully set apollo, nextjs and auth0 up? How can we get the errors to surface that we need surfaced?