## The problem
Issue supabase/auth#1293 (closed, 16 comments): Test OTP verify not working on supabase local. Setting up a test user and calling verify OTP locally fails.

## The fix
If OTP verify fails on local Supabase, check how you created the test user. Creating it with auth.admin.createUser never sends an OTP, so there is nothing to verify. Create the user through supabase.auth.signInWithOtp instead and the verify step works.

## Notes
Thread: https://github.com/supabase/auth/issues/1293. Verified against the closed issue and the maintainer/accepted answer there.