-
-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
Description
Environment
------------------------------
- Operating System: Linux
- Node Version: v24.11.1
- Nuxt Version: 4.2.1
- CLI Version: 3.30.0
- Nitro Version: 2.12.8
- Package Manager: [email protected]
- Builder: -
- User Config: app, auth, components, css, dayjs, compatibilityDate, devtools, fonts, i18n, modules, postcss, routeRules, runtimeConfig, sentry, sourcemap, ssr, telemetry, vuetify
- Runtime Modules: @nuxt/[email protected], @nuxtjs/[email protected], [email protected], @nuxt/[email protected], @pinia/[email protected], @sidebase/[email protected], @sentry/nuxt/[email protected], [email protected]
- Build Modules: -
------------------------------
Reproduction
Migrate from 1.1.0 to 1.1.1.
Describe the bug
I'm using the local provider. After upgrading from 1.1.0 to 1.1.1, the refresh token requests fail with a CORS error.
The nuxt-auth setup didn't changed, as well as the backend server.
Here is my config:
auth: {
baseURL: 'http://localhost:8080',
globalAppMiddleware: true,
provider: {
type: 'local',
endpoints: {
// ...
},
token: {
signInResponseTokenPointer: '/access_token',
},
refresh: {
isEnabled: true,
endpoint: { /* ... */ },
refreshOnlyToken: false,
token: {
signInResponseRefreshTokenPointer: '/refresh_token',
refreshRequestTokenPointer: '/refresh_token',
},
},
},
}
My app is running on localhost:3000. I'm sorry but I don't have much more info to provide.
Is there a parameter I missed?
Additional context
Logs
vvarp