Next.js authMiddleware requires an 'afterAuth' function to redirect to user page, after Google social login | Vectle