nextauthjs / nextauthjs/next-auth

'Credentials Provider in Development' code has an error

Open
#13,033 0 comments 0 reactions 0 assignees View on GitHub

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?

https://authjs.dev/guides/testing#credentials-provider-in-development
auth.ts code has an error

Is there any context that might help us understand?

fr

Does the docs page already exist? Please link to it.

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the Credentials Provider in Development section at authjs.dev/guides/testing#credentials-provider-in-development and inspect the auth.ts example. Determine what is incorrect in the example, then update the documentation so the shown code is valid and consistent with the guide. Verify the corrected example in the rendered documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.