nuxt-auth-utils-skilld

Guide Nuxt authentication workflows with nuxt-auth-utils across SSR and client rendering.

391|34|Updated Feb 10, 2024
One-click install
npx skills add https://github.com/harlan-zw/request-indexing --skill nuxt-auth-utils-skilld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt-auth-utils-skilld
Source: https://github.com/harlan-zw/request-indexing/tree/main/.claude/skills/nuxt-auth-utils-skilld
Command: npx skills add https://github.com/harlan-zw/request-indexing --skill nuxt-auth-utils-skilld

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you correctly use and troubleshoot the Nuxt auth utilities package so OAuth/OIDC and session handling work reliably instead of failing silently or insecurely.

Core Features & Use Cases

  • Correct OAuth/OIDC setup guidance: Apply the required PKCE and nonce flow for OIDC providers and avoid provider-type mistakes.
  • Session loading and SSR control: Choose loadStrategy options (default server-first, plus client-only or none) to match your rendering model.
  • Secure login and WebAuthn flows: Use server utilities like passwordNeedsRehash() plus WebAuthn passkey handlers and credential handling patterns.
  • Practical best practices: Follow recommended patterns for secure fields, session hooks, and extending session types for custom fields.

Quick Start

Ask an AI to summarize the best practices and the most important API changes for nuxt-auth-utils version 0.5.28 and provide a checklist for safe OAuth/OIDC and session handling in a Nuxt app.

Frequently Asked Questions about nuxt-auth-utils-skilld

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

FAQPage Schema
How do I configure OAuth and OIDC providers in Nuxt securely?

To configure OAuth and OIDC providers in Nuxt securely, you must enforce mandatory PKCE and nonce parameters for OIDC flows to avoid provider-type mistakes and prevent silent authentication failures.

What is the best way to handle Nuxt session loading during SSR?

The best way to handle Nuxt session loading during SSR is selecting the appropriate loadStrategy, choosing between server-first, client-only, or none, to correctly match your application's rendering model.

How do I implement WebAuthn passkey authentication in a Nuxt app?

Implementing WebAuthn passkey authentication in a Nuxt app requires using specific WebAuthn passkey event handlers and secure credential handling patterns provided by the nuxt-auth-utils package.

Why does my Nuxt password login flow need rehashing?

Your Nuxt password login flow needs rehashing when server-side utilities detect outdated hash formats, enabling you to use passwordNeedsRehash() to safely rotate credentials during the login process.

Can I extend Nuxt session types to include custom secure fields?

You can extend Nuxt session types to include custom secure fields by following recommended session augmentation patterns and utilizing session hooks to safely manage additional user data.

What are the limitations of client-only session loading in Nuxt?

The limitations of client-only session loading in Nuxt involve potential hydration mismatches compared to the default server-first strategy, requiring careful rendering model alignment to avoid authentication state issues.