google auth on nextjs
i am using
next/router to push to /u/dashboard if there is no error on creating user with google auth. the problem is the redirect reverts back to localhost:3000/# on success. after then a full reload get me to /u/dashboard.