devtools
devtools copied to clipboard
The magic link and OTP code are constantly invalidated on the first time.
Describe the bug
I'm using Vite, DevTools, and Nitro, and when I try to enter the OTP code, it never validates. It takes a long time to load for validation, but it never happens. When I use a magic link, it regenerates after reload page, and this happens very frequently, and the logs don't show anything.
Reproduction
vite dev
System Info
System:
OS: Linux 6.11 Ubuntu 24.04.4 LTS 24.04.4 LTS (Noble Numbat)
CPU: (4) x64 Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
Memory: 2.86 GB / 7.68 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 24.18.0 - /home/iroh/.nvm/versions/node/v24.18.0/bin/node
npm: 11.16.0 - /home/iroh/.nvm/versions/node/v24.18.0/bin/npm
bun: 1.3.14 - /home/iroh/.bun/bin/bun
Browsers:
Chrome: 150.0.7871.128
Firefox: 152.0.6
Firefox Developer Edition: 152.0.6
Used Package Manager
bun
Validations
- [x] Follow our Code of Conduct
- [x] Read the Contributing Guide.
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [x] The provided reproduction is a minimal reproducible of the bug.
It was my mistake, all requests to /__devtools were being blocked by vue-router and redirected to the /404 page.