Open victorlmneves opened 9 months ago
Same issue here. Follow the get started steps and adding auth to the nuxt.config.ts gives the same error.
issue still exist on latest version 0.7.0
same issue, there is no version constrains between nuxt-auth and nuxt. the defineNuxtConfig ts has no property named 'auth object', it is simary that, nuxt-v3.6 and nuxt-auth-v6 worked well.
Environment
Build Modules: -
Reproduction
https://github.com/victorlmneves/nuxt-auth0
Describe the bug
Argument of type '{ devtools: { enabled: false; }; typescript: { shim: false; }; css: string[]; postcss: { plugins: { autoprefixer: {}; }; }; runtimeConfig: { API_KEY: string | undefined; OPC_APIM_KEY: string | undefined; ... 8 more ...; AUTH0_CLIENT_SECRET: string | undefined; }; modules: string[]; auth: { ...; }; }' is not assignable to parameter of type 'InputConfig<NuxtConfig, ConfigLayerMeta>'. Object literal may only specify known properties, and 'auth' does not exist in type 'InputConfig<NuxtConfig, ConfigLayerMeta>'
Additional context
I'm using Nuxt 3.8.0, @sidebase/nuxt-auth 0.6.2 and next-auth 4.2.1
Logs
No response