supabase-auth

Manage Supabase Auth sign-up, sign-in, sessions, and password recovery.

19|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/Nice-Wolf-Studio/claude-code-supabase-skills --skill supabase-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-auth
Source: https://github.com/Nice-Wolf-Studio/claude-code-supabase-skills/tree/main/skills/supabase-auth
Command: npx skills add https://github.com/Nice-Wolf-Studio/claude-code-supabase-skills --skill supabase-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, and includes scripts (resource) components.

What problem does it solve?

This skill provides authentication and user management using Supabase Auth API to handle sign up, sign in, sign out, session management, user metadata, and password recovery.

Core Features & Use Cases

  • Sign Up with email/password and optional user metadata
  • Sign In and manage access tokens (login, refresh, and current user)
  • Password Recovery and email verification (resending confirmation)
  • Admin user management (requires service role key) for elevated tasks
  • Use Case: In a new app, a user signs up, logs in, updates their profile, and can recover access if they forget their password.

Quick Start

Run a signup with email and password using the included helper: source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/supabase-api.sh" supabase_post "/auth/v1/signup" '{"email":"[email protected]","password":"securepassword123"}' Then sign in and fetch the current user: source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/supabase-api.sh" response=$(supabase_post "/auth/v1/token?grant_type=password" '{"email":"[email protected]","password":"securepassword123"}')

Frequently Asked Questions about supabase-auth

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

FAQPage Schema
How do I authenticate users with Supabase using email and password?

To authenticate users with Supabase, you can use the included shell helper to send a POST request to the signup and token endpoints, passing the user's email and password to create an account and retrieve access tokens.

What do I need to configure before implementing Supabase authentication?

Before implementing Supabase authentication, you need to set the SUPABASE_URL and SUPABASE_KEY environment variables, and ensure curl and jq dependencies are installed to execute the API helper scripts.

Can I manage user metadata and password recovery through the Supabase Auth API?

Yes, you can manage user metadata updates and trigger password recovery directly through the Supabase Auth API by sending targeted HTTP requests to update profile attributes and resend confirmation emails.

How do I handle admin user management tasks in Supabase?

To handle admin user management tasks in Supabase, you must authenticate using a service role key, which grants elevated privileges required to manage users beyond standard authentication flows.

What is the best way to manage Supabase access tokens after a user signs in?

The best way to manage Supabase access tokens after sign in is to fetch the token via the password grant endpoint, handle session refreshes, and use the helper script to retrieve the current user session data.

Does Supabase authentication work with shell scripts and command line tools?

Yes, Supabase authentication works seamlessly with shell scripts by utilizing a shared bash helper that formats and executes curl HTTP requests against the API and parses JSON responses using jq.