I am trying to bulk import all of our Magento users into auth0, but I’m not sure how to format the password_hash for auth0 from the argon2id13 format of magento.
Here’s an example of the format that auth0 would want
And our magento password_hashes are something like
I tried formatting it like the following but that did not properly convert the password:
I’m not sure what values to be putting for m, t, p, and I’m assuming what comes after the first semi colon in the Magento hash is the salt. Does anyone know how I should format that full hash?
Welcome to the Auth0 Community!
Are you using magento 2? This thread goes through a similar issue:
It looks like you can find the missing variables using the strategy outlined in this GitHub issue:
Hope this helps!
Thanks Dan, yes I am using magento 2. I don’t see auth0 mentioned in that thread or how to structure the hash in the format auth0 wants. Am I missing something there?
It looks like the
SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE variables mentioned in the github issue may correlate with the iterations (t) and memory size (m), respectively.
I don’t have the tools set up to test this, but it may be helpful if you try and extract those variables to create your hash.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.