Hey @angus, 여기서 정리 작업을 하고 있어요.
OP 코드 블록이 다음과 같이 읽혀야 한다는 게 사실인가요?
SELECT id, username,
concat(
'$pbkdf2-sha256$i=64000,l=32$',
replace(encode(users.salt::bytea, 'base64'), '=', ''),
'$',
replace(encode(decode(password_hash, 'hex'), 'base64'), '=', '')
) as phc
FROM users
그리고 다음과 같은 내용을 포함해야 하나요:
Auth0로 Discourse 비밀번호를 가져오는 방법에 대한 자세한 정보는 https://community.auth0.com/t/bulk-user-import-custom-password-hash-issue/47408 을 참고하세요.
Auth0에서 Discourse로 데이터를 이동하는 경우, 다음 링크가 도움이 될 수 있습니다: Migrated password hashes support.