Heb

Results 257 comments of Heb

On each new release, authjs tends to break things. Since this package is not official (I've contacted their team but they are not interested in prioritising Nuxt support), on every...

Thanks for investigation @levisticum ! I think this deserves a doc inclusion and we can close this then. @Shhu I think Lucia is great and https://github.com/Atinux/nuxt-auth-utils is another potential alternative....

You should be able to use layouts to avoid repeating logic for all pages that needs authentication. https://nuxt.com/docs/guide/directory-structure/layouts

> When I have tried to put a `definePageMeta` inside a layout file, I got the following warning: `definePageMeta() is a compiler-hint helper that is only usable inside the script...

@oviava I assume you are trying to contribute/fork this repo ? If so, you should be using bun, not yarn.

> Hey @Hebilicious, the issue occurs when doing ‘yarn add’ or when doing ‘yarn’ on our project. Unfortunately we do not have the option of using anything but yarn atm....

> 'yarn install' is failing, I wish I could ignore it but it's failing our CI :) You'll find several options to ignore the installation scripts in the yarn docs...

Looks like an upstream issue related to auth.js. I'll leave this open to track it. @namdevel I recommend you open a more fleshed out issue in next-auth/authjs itself, with a...

upstream issue https://github.com/nextauthjs/next-auth/issues/7764

@namdevel can you try the fix proposed in next-auth, ie updating callback url in the discord app settings to `http://localhost:3000/api/auth/callback/discord` ? also for the reproduction I'm gonna need a link...