Nicholas Romero

How to reset a supabase account password without working frontend.

By Nicholas Romero 09.15.2022

Introduction

In this guide, we will explore how to reset a Supabase account password using the command line interface (CLI) for situations where the frontend is inaccessible.

Steps to Reset Password

  1. Open your terminal.
  2. Ensure you have the Supabase CLI installed:
    npm install -g supabase
    
  3. Authenticate using your Supabase URL and API key:
    supabase login --api-key YOUR_API_KEY
    
  4. Reset the password:
    supabase auth reset-password --email YOUR_EMAIL
    
  5. Follow the instructions sent to your email.

Conclusion

Using the Supabase CLI allows for significant flexibility, especially when the frontend is not available.