skills/smithery.ai/authentication-logic

authentication-logic

Installation
SKILL.md

Authentication Logic

Overview

We use Better Auth (better-auth) for identifying users.

Config

  • Client: lib/auth-client.ts exports authClient.
  • Server: lib/auth.ts exports auth.

Client-Side Usage

Use authClient for signing in, signing out, and checking session state in Client Components.

import { authClient } from "@/lib/auth-client";
Installs
1
First Seen
Apr 20, 2026
authentication-logic from smithery.ai