Import hashed bcrypt passwords


So, I’m trying to bulk import hashed passwords into Auth0 and running into troubles.

Here’s how we currently hash passwords:


Since bcrypt doesn’t allow more than 72 characters, the solution of pre-hashing the password is sorta standard practice (of course we’re missing the salt in the pre-hash but that’s besides the point here, and ignoring why we couldn’t just put an upper limit of 72 characters, sigh). I’m not able to get imports to work correctly.

Please advise.