We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Okay so idk if this is bug or i am dumb but when i add auth to nuxt.config.ts it seems to not detecting it. Idk why.
my nuxt.config.ts
export default defineNuxtConfig({ modules: ["@sidebase/nuxt-auth"], css: ["~/assets/css/main.css"], postcss: { plugins: { tailwindcss: {}, autoprefixer: {}, }, }, runtimeConfig: { authSecret: "adsadawdawdawdawdadsadasd", }, auth: { globalAppMiddleware: true, }, });
but if i use local middleware it works pefectly
definePageMeta({ middleware: "auth", auth: { unauthenticatedOnly: true, navigateAuthenticatedTo: "/user-profile/getting_up", }, });
The text was updated successfully, but these errors were encountered:
It looks like you are trying to use this in Nuxt 3.
The docs probably need to be more clear, but this module is for Nuxt 2 only
Sorry, something went wrong.
No branches or pull requests
Okay so idk if this is bug or i am dumb but when i add auth to nuxt.config.ts it seems to not detecting it. Idk why.
my nuxt.config.ts
but if i use local middleware it works pefectly
The text was updated successfully, but these errors were encountered: