getting error when using nuxt 3 with nuxt auth module

Viewed 23

I am using nuxt 3 + nuxt auth module

getting this error :

enter image description here

this is my nuxt config

export default defineNuxtConfig({
    modules: [
        '@nuxtjs/axios',
        '@nuxtjs/auth-next'
      ],
      auth: {
        strategies: {
            cookie: {
              cookie: {
                // (optional) If set, we check this cookie existence for loggedIn check
                name: 'XSRF-TOKEN',
              },
              endpoints: {
                // (optional) If set, we send a get request to this endpoint before login
                csrf: {
                  url: ''
                }
              }
            },
          }
      }
})

what is the problem ?

1 Answers
Related