-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
Module breaks with @auth/core@latest #158
Comments
+1 same here "@auth/core": "^0.22.0", Downgrading @auth/core to 0.17.0 works. |
|
This is especially sad cause @auth/core just added (experimental) passkey support |
same |
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 authjs minor semver update, this package might need to be updated by trying to figure out what changed on the auth/core side and doing the necessary changes here. Obviously this isn't sustainable, especially since I don't personally use authjs, or this module anymore. |
Sad to hear that but i understand your position, it looks like it's time to migrate to Lucia for me. |
I ran into the same problem, which seemed to be introduced with core v0.22 here It's where basePath is set to default to Setting the basePath to Hope I could help :) |
Thanks for investigation @levisticum ! @Shhu I think Lucia is great and https://github.com/Atinux/nuxt-auth-utils is another potential alternative. But it seems that auth.js is quite popular and with a few extra contributors, I believe things can keep moving forward. However I think the split between this module/sidebase and nextauth/auth.js is overall bad for the ecosystem. |
Yeah, it's unfortunate that the authjs team isn't willing to upstream this to an official repo, but having multiple repos using the same auth stack trying to solve the exact same issue is just splitting the community up. Imo, it does make sense to stick to authjs instead of next-auth though, since that's what the authjs team is planning ahead for, and it makes sense to future proof the auth solution. Maybe there's a need to consolidate this module and sidebase module so there's more maintainers working on the same thing |
Environment
Darwin
v19.9.0
3.9.3
3.10.0
2.8.1
pnpm@8.2.0
-
devtools
,modules
,authJs
,runtimeConfig
nuxt-security@1.0.1
,@hebilicious/authjs-nuxt@0.3.5
-
Reproduction
Fairly obvious :)
Describe the bug
Fresh project, latest auth core, issue hitting
/api/auth/session
endpoint.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: