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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/supabase-user-management-workflow-guide.md | A 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.sql | SQL 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.sql | A 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.js | A 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.dart | A 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.swift | A 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.kotlin | A 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.js | A 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.dart | A 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.swift | A 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.kotlin | A 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.sql | A 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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