Open jonalxh opened 3 years ago
module: ^5.0.0-1624817847.21691f1 nuxt: 2.15.8
auth: { plugins: ['~/plugins/auth'], rewriteRedirects: true, fullPathRedirect: true, strategies: { cookie: { cookie: { name: "sessionid" }, endpoints: { login: { url: `auth/login/`, method: 'post', //propertyName: false, //withCredentials: true }, logout: { url: 'auth/logout/', method: 'post' }, user: { url: `user`, method: 'get', }, }, tokenRequired: false, tokenType: false, user: { autoFetch: true, property: false, withCredentials: true, } }, google: { clientId: credentials.GoogleAuthCredentials.client_id, redirectUri: isProd ? baseUrl : baseDevUrl, logoutRedirectUri: isProd ? baseUrl : baseDevUrl, codeChallengeMethod: "", responseType: "code", token: { property: 'access_token', type: 'Bearer', }, refreshToken: { property: 'refresh_token', }, endpoints: { token: `${baseApiUrl}auth/google/`, refresh: { url: `${baseApiUrl}auth/google/`, method: 'post' }, userInfo: `${baseApiUrl}user`, }, autoLogout: false } }, redirect: { login: '/', logout: '/', callback: '/', home: '/' } }
:warning: without a minimal reproduction we won't be able to look into your issue
Version
module: ^5.0.0-1624817847.21691f1 nuxt: 2.15.8
Nuxt configuration
mode:
Nuxt configuration
Reproduction