Hi! I'm currently trying to integrate SuperTokens ...
# support-questions
k
Hi! I'm currently trying to integrate SuperTokens with NestJS, yet I do wonder what I might have missed. I made all the steps described, though none of them seemed to actually add any routes to my application that could've been used for authentication. Based on the demo app, it would've been something like
/auth/signin
. On top of that I'm using GraphQL by default, which obviously wouldn't really interfere, still, the error filter applies to that part of the application as well. The main problem is that the
errorHandler
expects
next
(
NextFunction
to be passed in as the 4th argument, yet NestJS/`apollo-server-express` does not seem to expose that. When inspecting what the result of
ctx.getNext()
, it appears to be a normal context object, containing the
request
etc.
4 Views