Skip to content

[Task] Better Auth Client Integration in Web #114

Description

@Basharkhan7776

Integrate Better Auth client SDK in apps/web to communicate with session authentication endpoints from apps/api.

  • Install better-auth client package in apps/web.
  • Configure apps/web/lib/auth-client.ts pointing to NEXT_PUBLIC_API_URL.
  • Export auth action methods: signIn.social, signOut, useSession, getSession.
  • Configure credentials mode (credentials: "include") for cookie-based session handling across cross-origin/same-domain requests.

Activity

  1. added 2 commits that reference this issue on Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions