nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
96 stars 20 forks source link

Refresh scheme does not work #41

Closed steklopod closed 1 year ago

steklopod commented 1 year ago

Refresh token never triggers. In original module it worked

nuxt.config

auth: {
    // globalMiddleware: true, // TODO: enable for production
    strategies: {
      localStorage: false,
      local: {
        scheme: 'refresh',
        cookie: { server: true },
        user: { property: false },
        token: {
          property: 'access_token',
          required: true,
          type: 'Bearer',
          maxAge: 60
        },