nextauthjs / nextauthjs/next-auth

NextAuth.js (v4) + React-Query

Open
#12,023 0 comments 1 reaction 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?

In the v3 docs, there is a section on how to integrate next-auth with react query: https://next-auth.js.org/v3/getting-started/client#nextauthjs--react-query

It links to a github repo, but that has been archived by now: https://github.com/nextauthjs/react-query

The v4 docs, as far as I can tell, do not contain anything on react query.

Is there any context that might help us understand?

react query is a very widespread library, so information on proper integration would be very helpful.

I'm currently struggling with the integration and feeling like I'm doing a lot myself, which seems excessive given the popularity of both packages (next-auth/react query).

Any pointers or improvements to the docs would be much appreciated 🙏

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

https://next-auth.js.org/v3/getting-started/client#nextauthjs--react-query

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

Start with the linked v3 client documentation and compare it with the current v4 documentation. Review the archived nextauthjs/react-query repository and determine what current integration guidance can be documented; done means the v4 docs address React Query integration without relying on the archived link.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react
Domain
authentication, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.