Hi, I think there is a change in the syntax of authMiddleware, I'm using authorized parties but in the video he's using publicRoutes and that most probably causing to not add a new user to the database.
Here is my github repo https://github.com/FireEagle97/PixelAI
GitHub
Contribute to FireEagle97/PixelAI development by creating an account on GitHub.