Company
Date Published
Author
Shridhar
Deshmukh
Word count
1441
Language
English
Hacker News points
None

Summary

Migrating from Supabase Auth to Neon Auth involves a process that simplifies the management of user authentication by integrating it directly with a Postgres database, ensuring complete data ownership and simplifying application queries. The migration process is broken down into three main steps: exporting users and encrypted passwords from Supabase using a SQL query, setting up Neon Auth in the Neon project, and importing the user data into Neon Auth through the Stack Auth REST API. This process retains security by preserving the original bcrypt password hashes in Modular Crypt Format, allowing passwordless migration and continuity in user authentication. The users are stored in a neon_auth.users_sync table, which is managed by Neon Auth and should not be directly modified. The article highlights the efficiency of this migration process and encourages users on Supabase to explore Neon Auth by signing up for a free account.