auth

Configure Better Auth for signup, login, OAuth, and route protection.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/oakoss/open-saas-kit --skill auth-oakoss
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: auth
Source: https://github.com/oakoss/open-saas-kit/tree/main/.claude/skills/auth
Command: npx skills add https://github.com/oakoss/open-saas-kit --skill auth-oakoss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides secure authentication and session management for web applications, enabling reliable user login and protected resources.

Core Features & Use Cases

  • Sign up, sign in, and password management with server-side validation.
  • OAuth/social provider support and token-based session handling.
  • Route protection and middleware integration for both server and client.
  • Use cases include onboarding workflows, restricted admin panels, and user profile access.

Quick Start

Install and configure Better Auth with a database adapter, expose API routes, and integrate client hooks to manage sessions and sign-in state.

Frequently Asked Questions about auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement secure user authentication and session management in a full-stack web app?▼

Secure user authentication and session management can be implemented using Better Auth with a database adapter, exposing API routes and client hooks to manage sign-in state for full-stack web applications.

What is the best way to add OAuth and social provider login to a React application?▼

OAuth and social provider login is handled through server-side Better Auth configuration, supporting token-based session handling and integrating client hooks for React applications.

Does this authentication approach work with TanStack Start and Drizzle ORM?▼

Yes, this authentication approach works directly with TanStack Start and Drizzle ORM, utilizing Better Auth for server-side validation and database adapter configuration.

How do I set up route protection and middleware for restricted admin panels?▼

Route protection and middleware integration for restricted admin panels is achieved by configuring server-side validation and utilizing client utilities to manage session access.

Do I need a database adapter to handle password resets and user signup?▼

Yes, a database adapter is required alongside Better Auth configuration to process server-side validation for user signup, password resets, and session storage.