[PR #5054] [MERGED] docs: add password hashing step on auth0 and supabase migration guides #31344

Closed
opened 2026-04-17 22:13:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5054
Author: @Bekacru
Created: 10/2/2025
Status: Merged
Merged: 10/5/2025
Merged by: @Bekacru

Base: canaryHead: docs/migration-guides


📝 Commits (3)

  • 6e106fa docs: add password hashing step on auth0 and supabase migration guides
  • 3e1d2d0 chore: change name
  • 8e4fc06 Merge branch 'canary' into docs/migration-guides

📊 Changes

2 files changed (+65 additions, -0 deletions)

View changed files

📝 docs/content/docs/guides/auth0-migration-guide.mdx (+33 -0)
📝 docs/content/docs/guides/supabase-migration-guide.mdx (+32 -0)

📄 Description

closes #5016


Summary by cubic

Added a password hashing step to the Auth0 and Supabase migration guides so migrated users’ passwords continue to work. The docs show how to switch Better Auth from scrypt to bcrypt for hashing and verification.

  • Migration
    • Install bcrypt and @types/bcrypt.
    • Update auth.ts to hash and verify passwords with bcrypt in emailAndPassword.password.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5054 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 10/2/2025 **Status:** ✅ Merged **Merged:** 10/5/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/migration-guides` --- ### 📝 Commits (3) - [`6e106fa`](https://github.com/better-auth/better-auth/commit/6e106fa02091528442a297bcfbe62413af2d316e) docs: add password hashing step on auth0 and supabase migration guides - [`3e1d2d0`](https://github.com/better-auth/better-auth/commit/3e1d2d0458dbf77acd7672968968082daea8d478) chore: change name - [`8e4fc06`](https://github.com/better-auth/better-auth/commit/8e4fc066925dc096e62d32454d1e8de64f819057) Merge branch 'canary' into docs/migration-guides ### 📊 Changes **2 files changed** (+65 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/guides/auth0-migration-guide.mdx` (+33 -0) 📝 `docs/content/docs/guides/supabase-migration-guide.mdx` (+32 -0) </details> ### 📄 Description closes #5016 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added a password hashing step to the Auth0 and Supabase migration guides so migrated users’ passwords continue to work. The docs show how to switch Better Auth from scrypt to bcrypt for hashing and verification. - **Migration** - Install bcrypt and @types/bcrypt. - Update auth.ts to hash and verify passwords with bcrypt in emailAndPassword.password. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 22:13:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#31344