auth-supabase-otp

Automate end-to-end Supabase passwordless OTP authentication tests with Playwright.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/mdmagnuson-creator/yo-go --skill auth-supabase-otp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-supabase-otp
Source: https://github.com/mdmagnuson-creator/yo-go/tree/main/skills/auth-supabase-otp
Command: npx skills add https://github.com/mdmagnuson-creator/yo-go --skill auth-supabase-otp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables automated testing of Supabase passwordless OTP authentication by driving a login flow, retrieving an OTP, and verifying access to a protected page.

Core Features & Use Cases

  • Config-driven authentication tests using project.json to define method, provider, and test user modes (fixed or dynamic).
  • End-to-end OTP login flow orchestration via Playwright, including OTP retrieval from the database.
  • Reusable for QA, CI, and integration tests to validate authentication for Supabase-powered apps.

Quick Start

Navigate to the login page, enter a test email, submit to trigger OTP, fetch the code from the database, enter the code, and reach the authenticated page.

Frequently Asked Questions about auth-supabase-otp

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

FAQPage Schema
How do I automate Supabase passwordless OTP testing with Playwright?

Supabase passwordless OTP testing is automated by driving the login flow with Playwright, retrieving the OTP directly from the database via a service role, and verifying access to protected pages. This orchestrates login, OTP retrieval, and verification end-to-end.

How does automated OTP retrieval work in Supabase end-to-end tests?

Automated OTP retrieval works by using the Supabase service role for database access to fetch the generated code after the login flow is triggered. This bypasses email delivery, allowing tests to directly query and input the code for verification.

Can I use fixed and dynamic test users for Supabase OTP authentication tests?

Yes, you can use both fixed and dynamic test users for Supabase OTP authentication tests. The skill loads configuration from project.json, allowing you to define test user modes alongside the authentication method and provider for flexible QA and CI environments.

What is the best way to test Supabase passwordless login flows in CI?

The best way to test Supabase passwordless login flows in CI is using config-driven end-to-end orchestration that navigates the login page, fetches the OTP from the database, and verifies authenticated access, ensuring reusable validation across integration environments.

Do I need a service role key to test Supabase OTP authentication end-to-end?

Yes, you need a Supabase service role key to test OTP authentication end-to-end. The service role is required for direct database access to retrieve the OTP, bypassing the need for email interception during your automated Playwright test runs.