Closed yourcodesnotworking closed 1 year ago
There are maaaany 404 among the docs links as well
Please don't use
pages
directory, as it will be outdated in the future for sure.
This is incorrect. (note, I am part of the Next.js core team as well) pages
is going to be maintained.
Please use
app
directory for API
https://next-auth.js.org/configuration/initialization#route-handlers-app
It's a kind of scary choice, cause you're saying "NextAuth.js is becoming Auth.js!
We control both domains and we are committed to making the transition seamless, so when it is ready, you will have a clear path! It is totally safe to keep using next-auth
, it even receives frequent updates. See https://github.com/nextauthjs/next-auth/releases
There are many 404s among the docs links as well
@Dav3whit3 could you report the broken links in an issue, with a link to the broken page, and where it came up/where did you find it? :pray: we cannot fix these unless we are aware! :green_heart:
As a general note, we acknowledge the current state has cases that need more work, and we are working on the documentation constantly. However authjs.dev does have a banner with the following "Note, this site is under active development. 🏗" to make it clear there might be issues. Also note, @auth/core
and its ecosystem (@auth/*
) is also under active development. If you care about stability, we recommend keeping relying on next-auth
for the time being.
_But as a hint into the future, I am working on @auth/nextjs
(Next.js Auth), the true successor of next-auth
(NextAuth.js). Expect an announcement in the not-so-distant future. :shushingface:
I'm closing this issue as it's not actionable (apart from 3., which I'll get to right after this comment.)
If you have actionable feedback on the documentation (like missing pages or confusing documentation) please report them as separate issues with clear steps you would like to be taken. :pray:
Hope this helps!
Hmm. Upon re-reading, I actually think https://authjs.dev/getting-started/databases could be kept, but I cleaned it up and fixed a broken link. https://github.com/nextauthjs/next-auth/commit/9018939ee754304e802186809894a3728fc140f3
What is the improvement or update you wish to see?
I wanna see code examples for Next.js 13.2+ Once you codes copied from your get started page, it should work.
Also, if you are trying give example for Next.js 13.2+,
pages
directory, as it will be outdated in the future for sure.app
directory for API, as Office Documentention gave you complete example how to use API inapp
directory, don't scary to use.Getting Started ?? Getting Started Page NO CODE EXAMPLE WHATSOEVER!
"Credentials Provider is as simple as initializing it in the Auth.js configuration file" ? Credentials authentication What about Next.js 13.2+? NO NEED? or anyone should understand your code automatically after seen your code example?
Ok next link: Database ?? Databases Do you mean those first two steps should definitely works, so we should choose if using database? Do I need come back to next-auth page? It's a kind of scary choice, cause you're saying "NextAuth.js is becoming Auth.js! 🎉 "
It seems your https://authjs.dev is for advanced developers to read. Does that mean if you're not advanced developers you should be abandoned on default?
Is there any context that might help us understand?
Getting Started ?? Getting Started Page
"Credentials Provider is as simple as initializing it in the Auth.js configuration file" ? (Credentials authentication)[https://authjs.dev/getting-started/credentials-tutorial]
Ok next link: Database ?? Databases
Does the docs page already exist? Please link to it.
See above links, thanks.