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
Repository
smithery/ai
First Seen
Security Audits
authentication-logic — smithery/ai