Repository navigation
feat(web): add Better Auth client integration (#114) - #129
Merged
Basharkhan7776 merged 1 commit intoSep 20, 2026
Merged
Basharkhan7776 merged 1 commit into
Basharkhan7776 merged 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Basharkhan7776
approved these changes
Sep 20, 2026
Basharkhan7776
left a comment
Member
There was a problem hiding this comment.
Merging this PR, all clear
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.
Summary
Integrates the Better Auth React client into the web application for cookie-based session authentication with the Express API. This PR also fixes a workspace TypeScript export-resolution issue that prevented the Next.js app from building.
Changes Made
better-authas a dependency ofapps/web.apps/web/lib/auth-client.ts.NEXT_PUBLIC_API_URL.credentials: "include"for cookie-based session handling.authClient,signIn,signOut,useSession, andgetSession.@repo/typesbarrel exports to use extensionless source imports, resolving Turbopack’s inability to resolve non-existent.jsfiles from TypeScript source.bun.lock.Testing
bun run lintpasses.bun run testpasses: 11 tests.bunx tsc --noEmitpasses.bun run buildpasses.Related Issues
@repo/types, necessary for the Next.js application to resolve shared form-schema exports.Screenshots (if applicable)
Not applicable, as this PR adds client-side authentication infrastructure without visual UI changes.
Checklist