Skip to content

docs(react): point the Next.js README section at @seamless-auth/nextjs - #183

Merged
Bccorb merged 1 commit into
mainfrom
docs/readme-nextjs-package
Oct 13, 2026
Merged

Bccorb merged 1 commit into
mainfrom
docs/readme-nextjs-package

Conversation

@Bccorb

@Bccorb Bccorb commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

The @seamless-auth/react README's Next.js section was stale. It said a dedicated Next.js server package was tracked in seamless-auth-server#170 and told readers to resolve the session with getSeamlessUser from @seamless-auth/core. @seamless-auth/nextjs has shipped (0.4.0 on npm), so the section now points at it.

  • packages/react/README.md: the Next.js section shows the install line, a createSeamlessAuthHandler catch-all route at app/auth/[...seamless]/route.ts, and a root layout that resolves the session with getSeamlessSession and passes it to AuthProvider with apiHost="". The pattern matches the templates/fullstack/nextjs starter and the docs page, which is now linked (https://docs.seamlessauth.com/build/nextjs/). The server-side session paragraph now names getSeamlessSession and keeps the warning against forwarding browser cookies to /auth/users/me. The link to seamless-auth-server#170 is gone.
  • AGENTS.md: the Next.js notes said the server package "belongs in" seamless-auth-server and that server reads go through getSeamlessUser; they now say the package exists and Next.js reads go through getSeamlessSession.
  • Patch changeset for @seamless-auth/react so the corrected README reaches npm.

The other package READMEs (angular, vue, svelte, react-native, client) and the root README carry no stale Next.js claim. The Angular README's server-rendering note mentions getSeamlessUser as an example for a generic server, which is still accurate.

Checks

  • npm run format:check: pass
  • npm run lint: pass
  • npm run typecheck: pass
  • npm test: 564 Jest tests and 39 Vitest tests pass

@Bccorb
Bccorb merged commit bd62b41 into main Oct 13, 2026
5 checks passed
@Bccorb
Bccorb deleted the docs/readme-nextjs-package branch October 13, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant