Prompt Buddy logoPrompt Buddy

supabase · Supabase Docs

Supabase User Management

Teaches how to manage user data by creating public profile tables linked to the auth schema, handling user metadata, deleting users while managing storage ownership, and exporting user lists via SQL.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Supabase User Management

Teaches how to manage user data by creating public profile tables linked to the auth schema, handling user metadata, deleting users while managing storage ownership, and exporting user lists via SQL.

When To Use

Use when you need to expose user information via the public API, sync user signups to a custom profiles table, or troubleshoot user deletion errors caused by storage object ownership.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/supabase-user-management-workflow-guide.mdA guide detailing how to view, add, retrieve, delete, and export user information and metadata using the Supabase Auth API and dashboard.Questions about a guide detailing how to view, add, retrieve, delete, and export user information and metadata using the Supabase Aut...
examples/supabase-user-management-supabase-auth-profiles-table-sql-setup.sqlSQL script to create a public profiles table that references the auth.users table and configures row-level security permissions.Exact payloads, commands, or snippets shown in SQL script to create a public profiles table that references the auth.users table and configures row-level security p...
examples/supabase-user-management-supabase-auth-user-profiles-trigger.sqlA SQL script that creates a database function and trigger to automatically insert user profile data into a public table upon new user registration.Exact payloads, commands, or snippets shown in A SQL script that creates a database function and trigger to automatically insert user profile data into a public tab...
examples/supabase-user-management-supabase-auth-signup-user-metadata.jsA JavaScript code example demonstrating how to sign up a new user with additional metadata using the Supabase client.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to sign up a new user with additional metadata using the Supabase client.
examples/supabase-user-management-supabase-auth-signup.dartA Dart code example demonstrating how to use the Supabase auth signUp method with user metadata.Exact payloads, commands, or snippets shown in A Dart code example demonstrating how to use the Supabase auth signUp method with user metadata.
examples/supabase-user-management-supabase-auth-signup.swiftA Swift code example demonstrating how to use the Supabase client to sign up a new user with additional metadata.Exact payloads, commands, or snippets shown in A Swift code example demonstrating how to use the Supabase client to sign up a new user with additional metadata.
examples/supabase-user-management-supabase-auth-signup-with-metadata.kotlinA Kotlin code example demonstrating how to sign up a new user with custom user metadata using the Supabase Auth client.Exact payloads, commands, or snippets shown in A Kotlin code example demonstrating how to sign up a new user with custom user metadata using the Supabase Auth client.
examples/supabase-user-management-supabase-auth-get-user-metadata.jsA JavaScript code example demonstrating how to retrieve a user's metadata using the Supabase client.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to retrieve a user's metadata using the Supabase client.
examples/supabase-user-management-supabase-auth-user-metadata.dartA Dart code example demonstrating how to retrieve the current user and access their user metadata using the Supabase client.Exact payloads, commands, or snippets shown in A Dart code example demonstrating how to retrieve the current user and access their user metadata using the Supabase...
examples/supabase-user-management-supabase-auth-user-metadata.swiftA Swift code example demonstrating how to retrieve the current user and access their user metadata using the Supabase client.Exact payloads, commands, or snippets shown in A Swift code example demonstrating how to retrieve the current user and access their user metadata using the Supabase...
examples/supabase-user-management-supabase-auth-retrieve-user.kotlinA Kotlin code snippet demonstrating how to retrieve the current user and their metadata using the Supabase Auth client.Exact payloads, commands, or snippets shown in A Kotlin code snippet demonstrating how to retrieve the current user and their metadata using the Supabase Auth client.
examples/supabase-user-management-supabase-auth-users-select-query.sqlA SQL query to select all records from the auth.users table in Supabase.Exact payloads, commands, or snippets shown in A SQL query to select all records from the auth.users table in Supabase.

What This Skill Covers

  • View, delete, and export user information.
  • Main sections: Accessing user data via API, Adding and retrieving user metadata, Deleting users, Exporting users.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://supabase.com/docs/guides/auth/managing-user-data