-
-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
bugA bug that needs to be resolvedA bug that needs to be resolvedpendingAn issue waiting for triageAn issue waiting for triage
Description
Environment
Working directory: C:/workspace/design-pc nuxi 13:16:45
Nuxt project info: (copied to clipboard) nuxi 13:16:46
------------------------------
- Operating System: Windows_NT
- Node Version: v22.19.0
- Nuxt Version: 4.1.3
- CLI Version: 3.29.3
- Nitro Version: 2.12.7
- Package Manager: [email protected]
- Builder: -
- User Config: compatibilityDate, app, devtools, modules, imports, ui, components, css, icon, runtimeConfig, auth, i18n, vite, experimental
- Runtime Modules: @nuxt/[email protected], @nuxt/[email protected], @nuxt/[email protected], @nuxt/[email protected], @nuxt/[email protected], @nuxt/[email protected], @nuxt/[email protected], @vueuse/[email protected], @sidebase/[email protected], @nuxtjs/[email protected], @nuxtjs/[email protected], @pinia/[email protected]
- Build Modules: -
------------------------------
👉 Report an issue: https://github.com/nuxt/nuxt/issues/new?template=bug-report.yml
👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
👉 Read documentation: https://nuxt.com
Reproduction
none
Describe the bug
usecase is that say you specify /admin as baseURL in your nuxt.config.
When you access an authorized path, you will be redirected to the login page (xxx.com/admin/auth/login?redirect=/), After successful login, it incorrectly redirects to xxx.com
Additional context
No response
Logs
Metadata
Metadata
Assignees
Labels
bugA bug that needs to be resolvedA bug that needs to be resolvedpendingAn issue waiting for triageAn issue waiting for triage