supabase-auth

Authenticate users and manage sessions with the Supabase Auth API.

Updated Nov 16, 2025
One-click install
npx skills add https://github.com/mhintz1980/ptl-lova --skill supabase-auth-mhintz1980
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-auth
Source: https://github.com/mhintz1980/ptl-lova/tree/main/claude-code-supabase-skills/skills/supabase-auth
Command: npx skills add https://github.com/mhintz1980/ptl-lova --skill supabase-auth-mhintz1980

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Handles user authentication and management for apps using the Supabase Auth API, reducing boilerplate and improving security across sign-up, sign-in, and session flows.

Core Features & Use Cases

  • Sign Up, Sign In, Sign Out, and session management with JWT handling.
  • Password recovery, email verification, and user metadata updates.
  • Admin operations: create, update, and delete users with appropriate permissions when using a service key.

Quick Start

Authenticate a user or create a test user using the environment variables SUPABASE_URL and SUPABASE_KEY and the script at scripts/supabase-api.sh.

Frequently Asked Questions about supabase-auth

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

FAQPage Schema
How do I handle user authentication and JWT session management with Supabase?

User authentication and JWT session management with Supabase are handled by wrapping the Supabase Auth API to process signup, login, logout, and token refresh operations securely. It reduces boilerplate by managing these session flows automatically.

Can I perform admin user management and delete accounts using a Supabase service key?

Admin user management, including creating, updating, and deleting users, is supported when authenticating with a Supabase service key. This grants the elevated permissions required to manage accounts beyond standard authentication.

What environment variables do I need to set up to connect to the Supabase Auth API?

To connect to the Supabase Auth API, you must configure the SUPABASE_URL and SUPABASE_KEY environment variables. These provide the endpoint and credentials required by the shared helper script.

How do I implement password recovery and email verification for Supabase users?

Password recovery and email verification are implemented through dedicated Supabase Auth API methods. This manages sending recovery links and confirming user emails securely.

What is the best way to reduce boilerplate code for Supabase sign-up and sign-in flows?

The best way to reduce boilerplate for Supabase sign-up and sign-in flows is using a shared helper script that encapsulates the API calls. This standardizes authentication requests and handles JWT sessions securely.