implementing-auth-properly

Community

Secure Supabase Auth in Next.js

Authoralexejluft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents common security vulnerabilities and implementation errors when setting up Supabase authentication within a Next.js App Router application.

Core Features & Use Cases

  • Server-Side Validation: Ensures authentication is always checked on the server, preventing bypasses.
  • RLS Enforcement: Guides the correct implementation of Row Level Security policies for data protection.
  • Secure Session Handling: Promotes the use of httpOnly cookies and proper OAuth callback flows.
  • Use Case: Implementing user login and protecting dashboard routes in a Next.js app using Supabase, ensuring only authenticated users can access sensitive data and features.

Quick Start

Use the implementing-auth-properly skill to set up server-side validation for Supabase authentication in a Next.js App Router project.

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: implementing-auth-properly
Download link: https://github.com/alexejluft/brudi/archive/main.zip#implementing-auth-properly

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.