add-login

Implement email/password and Google OAuth authentication with profiles and RLS in Next.js 16 with Supabase.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/marcoapereirav-arch/nvision-saas-factory --skill add-login-marcoapereirav-arch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-login
Source: https://github.com/marcoapereirav-arch/nvision-saas-factory/tree/main/saas-factory/.claude/skills/add-login
Command: npx skills add https://github.com/marcoapereirav-arch/nvision-saas-factory --skill add-login-marcoapereirav-arch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a complete, production-grade authentication system (email/password and Google OAuth) with sign-up, sign-in, password reset, user profiles, and per-user access control, enabling secure, scalable user management for B2B apps.

Core Features & Use Cases

  • Email/password authentication with sign-up and sign-in
  • Google OAuth integration with automatic token handling and redirect
  • Password reset and account recovery
  • User profiles with Row-Level Security (RLS) policies
  • Protected routes with server-side and client-side checks
  • SSR-friendly integration with Next.js 16 + Supabase

Quick Start

Deploy the authentication blueprint into your Next.js 16 app, connect Supabase, enable Google OAuth, and start testing login, signup, and password reset flows.

Frequently Asked Questions about add-login

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

FAQPage Schema
How do I implement production-grade authentication with Supabase and Next.js 16?

Production-grade authentication with Supabase and Next.js 16 is implemented by deploying a blueprint covering email/password, Google OAuth, password reset, profiles, and per-user RLS. It handles SSR integration, OAuth flows, and server/client auth state handling for secure B2B apps.

Can I set up Google OAuth and protected routes in a Next.js 16 B2B app?

Yes, you can set up Google OAuth and protected routes in a Next.js 16 B2B app using this authentication system. It manages automatic token handling, OAuth redirects, and performs server-side and client-side checks to secure routes across the application.

What is the best way to add user profiles with Row-Level Security (RLS) in Supabase?

Adding user profiles with Row-Level Security (RLS) in Supabase is achieved by deploying a profiles table with built-in RLS policies. This ensures per-user access control and secure, scalable user management integrated directly with the authentication system.

Does this authentication blueprint include password reset and account recovery flows?

Yes, this authentication blueprint includes password reset and account recovery flows. It provides a complete authentication system with sign-up, sign-in, and account recovery mechanisms designed for production-grade B2B applications using Supabase.

How do I handle server-side and client-side auth state in Next.js 16 with Supabase?

Server-side and client-side auth state in Next.js 16 with Supabase is handled through SSR-friendly integration. The system manages OAuth flows and ensures protected routes have proper server and client checks to maintain secure sessions.