nuxt-auth-utils

Official

Seamless Nuxt auth with cookie-based sessions.

AuthorYuDefine
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Nuxt apps often need robust authentication without introducing a database for session storage; nuxt-auth-utils provides client and server helpers to manage sessions via cookies, enabling OAuth flows and route protection across deployment targets.

Core Features & Use Cases

  • Client: useUserSession() with user, loggedIn, session, fetch, clear
  • Server: requireUserSession(), getUserSession(), setUserSession(), clearUserSession()
  • OAuth handlers for Google and GitHub; easy integration across deployment targets

Quick Start

Install nuxt-auth-utils and configure OAuth providers in runtime config; then wire routes for login and callback.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nuxt-auth-utils
Download link: https://github.com/YuDefine/nuxt-supabase-starter/archive/main.zip#nuxt-auth-utils

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.