Repository navigation
Add the Better Auth Next.js integration sample - #9
Closed
brionmario wants to merge 1 commit into
Closed
brionmario wants to merge 1 commit into
brionmario wants to merge 1 commit into
Conversation
Move it here from thunder-id/javascript-sdks as integrations/better-auth-nextjs. It now depends on the published @thunderid/better-auth release, carries its own lockfile and the Next.js postcss override, is built by the PR builder and can be released through the release workflow. Refs thunder-id/thunderid#5904 Signed-off-by: Brion <info@brionmario.com>
This was referenced Oct 21, 2026
Merged
Merged
Member
Author
|
Combined into #11 together with the other sample changes, one commit each. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Moves the Better Auth Next.js integration sample here from thunder-id/javascript-sdks (
samples/integrations/better-auth/nextjs), so every ThunderID sample lives in this repository (thunder-id/thunderid#5904).Approach
integrations/better-auth-nextjs, next tointegrations/flutter-app-auth, copied from the tracked files only.@thunderid/better-auth0.1.1 instead ofworkspace:*, so it runs on its own.prepare-dev.cjsno longer rewrites workspace dependencies, since there are none.pnpm-lock.yamland.gitignore, plus thepostcssoverride that the Next.js quickstart carries for thenext-bundled postcss advisories, with the same justification.@thunderid/better-authlink is now absolute, and setup gains apnpm installstep (previously the monorepo root install covered it).integrations/<name>/package.json. The release workflow gains asample_better_auth_nextjsinput, and the root README lists the sample.Verified locally:
pnpm install --frozen-lockfile,pnpm audit --audit-level=high(no known vulnerabilities), andpnpm build, with and without a.env, against the published package.Related Issues
Related PRs
Merge order: this PR before thunder-id/javascript-sdks#126 and thunder-id/thunderid#5910.
Checklist
breaking changelabel added.Security checks