After creating brand new blitz app and following first steps from localhost:3000 main page I am getting AuthenticationError: You must be logged in to access this on localhost:3000/projects page.
blitz new blitz-playgroundcd blitz-playgroundblitz db migrateblitz generate all project name:stringblitz db migrateblitz dstart/projectsmacOS Catalina | darwin-x64 | Node: v13.12.0
blitz: 0.18.0 (global)
blitz: 0.18.0 (local)
Package manager: yarn
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 9.71 GB / 32.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.12.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: Not Found
npmPackages:
@prisma/cli: 2.5.1 => 2.5.1
@prisma/client: 2.5.1 => 2.5.1
blitz: 0.18.0 => 0.18.0
react: 0.0.0-experimental-33c3af284 => 0.0.0-experimental-33c3af284
react-dom: 0.0.0-experimental-33c3af284 => 0.0.0-experimental-33c3af284
typescript: 3.9.7 => 3.9.7

I think the error should not be thrown in this way but handled silently instead. Showing Login form in the background works great but error is not catched.
Yeah @svobik7 you're totally right this is dumb. Here the login screen should show without the error popup.
Unfortunately this is a limitation with Next.js :( It shows this error overlay even if the error was caught by by an ErrorBoundary. Note: it only shows this overlay in development, not in production.
Anyone reading this, please go add a new comment in this Next.js discussion saying that you want this too.
Fixed in latest blitz
Most helpful comment
Yeah @svobik7 you're totally right this is dumb. Here the login screen should show without the error popup.
Unfortunately this is a limitation with Next.js :( It shows this error overlay even if the error was caught by by an ErrorBoundary. Note: it only shows this overlay in development, not in production.
Anyone reading this, please go add a new comment in this Next.js discussion saying that you want this too.