Skip to content

Commit

Permalink
feat(backend): Add scrypt_werkzeug to supported hashers (#3069)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9879949)
  • Loading branch information
Nikpolik authored Apr 1, 2024
1 parent b472643 commit 089eee5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-toes-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/backend': patch
---

Add support for `scrypt_werkzeug` in `UserAPI` `PasswordHasher`.
4 changes: 3 additions & 1 deletion packages/backend/src/api/endpoints/UserApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ type PasswordHasher =
| 'pbkdf2_sha256'
| 'pbkdf2_sha256_django'
| 'pbkdf2_sha1'
| 'scrypt_firebase';
| 'scrypt_firebase'
| 'scrypt_werkzeug'
| 'sha256';

type UserPasswordHashingParams = {
passwordDigest: string;
Expand Down

0 comments on commit 089eee5

Please sign in to comment.