@JoaoPedroAS51 I had the same issue every time I tried to refresh the page, the auth.user will automatically disappear as well for the auth.loggedIn will set into false, which is make me automatically logged out. OAuth2 - nuxt auth docs And then, on nuxt server … Solved auth module nuxt-auth module not setting loggedIn and … So you just need to set the configuration according to the version you're using :) If you're using auth v5, you can safely remove the propertyName. Thank you. Your API should get the logged in user from the token, which Nuxt Auth will add to your outgoing headers automatically. Keyclaok Login Page. It can be false to directly use API response or being more complicated like auth.refresh_token. PKCE authenticaton for Nuxt SPA with Laravel as backend Prueba esto. Then you can use the logout field to define the logout url of your API. We send request to /token endpoint, and if it succeeded, we save the token(in my case I disabled localStorage and left only cookies), save refresh token(local scheme doesn't support this,but the module itself does), and set … Thread Vinicius Kiatkoski Neves. Press question mark to learn the rest of the keyboard shortcuts. Otherwise the auth token will be stored in a cookie named by default as: auth._token.{provider}. Close. nuxt auth token undefined - alogcertifica.cl Hey everyone, I want to fetch some data beforehand, I came across And set it up according to the answer. plugins. You’ll be using the Nuxt Auth module and the Nuxt Axios module, since the auth module makes use of Axios internally: # ensure that you are in the `nuxt-auth` project directory.