nextauthjs / nextauthjs/next-auth
CredentialsProvider required fields
Open
Nobody has claimed this yet.
triage
- Dominant language
- TypeScript
- Stars
- 28.4k
- Forks
- 4k
- PR merge metrics
- No merged PRs in 30d
Description
What is the improvement or update you wish to see?
The doc says the options: id and type are required, but it seems fine without those fields.
Is there any context that might help us understand?
I'm using NextJS App Router
Does the docs page already exist? Please link to it.
https://next-auth.js.org/configuration/providers/credentials
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CredentialsProvider documentation page and review how it describes the required id and type options. Verify the behavior in the reported Next.js App Router context, then update the documentation so its required-field guidance matches the actual behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- authentication, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100