[Solved] Tutorial: Auth redirect simply throws 500
I'm currently following along in the tutorial and got to the authentication step. I then migrated the database with the new User entity and copy/pasting the authentication pages.
But now when I simply hit the "root" page
The branch with this error can be found here: https://github.com/Kikketer/StorAI/blob/56b2c05be64be57bb370d2d3ec03a76119b40279/main.wasp#L11-L11
The step I was on is here: https://wasp-lang.dev/docs/tutorials/todo-app/06-auth#updating-mainpage-page-to-check-if-the-user-is-authenticated
But now when I simply hit the "root" page
/ it doesn't redirect me to the login/signup pages. It simply hits the /me endpoint and throws a 500 error: HttpError not defined.The branch with this error can be found here: https://github.com/Kikketer/StorAI/blob/56b2c05be64be57bb370d2d3ec03a76119b40279/main.wasp#L11-L11
The step I was on is here: https://wasp-lang.dev/docs/tutorials/todo-app/06-auth#updating-mainpage-page-to-check-if-the-user-is-authenticated
Most of the apps today are multi-user, and Wasp has first-class support for it, so let's see how to add it to our Todo app!
GitHub
Wasp Hackathon entry for a dungeon crawl adventure - StorAI/main.wasp at 56b2c05be64be57bb370d2d3ec03a76119b40279 · Kikketer/StorAI