apps/docs/content/troubleshooting/migrating-auth-users-between-projects.mdx
You can migrate all tables in the auth schema—including users and their hashed passwords—from one Supabase project to another. This means users do not need to reset or recreate their passwords after migration.
Each project is provisioned with a unique JWT secret used to sign and verify auth tokens. This has two key implications:
You can configure a custom JWT secret in the new project by going to: Settings > API > JWT Secret
Note: Updating the JWT secret will regenerate your anon and service_role API keys in the new project.
We don’t currently provide a one-size-fits-all script for migrating only the auth schema, but the process is covered in our general migration guide. You can use either: