Skip to content

[nuxt] Could not access then. The only available runtime config keys on the client side are public and app #927

@gabriel-nigro

Description

@gabriel-nigro

Describe the feature

I'm using Sidebase Nuxt-Auth + Nuxt3 + Vuetify3, and I'm getting this annoying warning when I click on the logout button, which calls signOut function.

Environment

❯ npx nuxi info
[17:08:40] Working directory: /home/projects/github-dvjyh3
[17:08:40] Nuxt project info:


  • Operating System: Linux
  • Node Version: v18.20.3
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Link to stackblitz.

Just go to /login page and sign in. Right before you'll be redirected to /home, which have sign out button. Open console and click the button.

Provider

  • AuthJS
  • Local
  • Refresh
  • New Provider

Logs

Warning in Console:

[nuxt] Could not access then. The only available runtime config keys on the client side are public and app. See https://nuxt.com/docs/guide/going-further/runtime-config for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug that needs to be resolvedp3Minor issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions