clerk / migration-script

30 stars 8 forks source link

Adding awscognito to passwordHasher #20

Open keivanmojmali opened 1 month ago

keivanmojmali commented 1 month ago

Hey guys. Thanks for the script. I noticed that only a portion of my users transferred and the logs were showing "code": "invalid_enum_value". I added "awscognito" to the passwordHasher list and it was able to take in all of my awscognito passwordDigests

Thank you!

passwordHasher: z .enum([ "argon2i", "argon2id", "bcrypt", "md5", "pbkdf2_sha256", "pbkdf2_sha256_django", "pbkdf2_sha1", "scrypt_firebase", "awscognito", ])