Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hash input order option when importing users #314

Closed
wants to merge 3 commits into from

Conversation

jwngr
Copy link

@jwngr jwngr commented Jul 22, 2018

Implements #313.

This PR includes the implementation of a new hash.inputOrder option for the importUsers() auth methods, with the relevant unit and integration tests and type definitions. See the issue for more information and a usage example.

Note that all unit tests pass on my local machine and all integration tests except admin.auth importUsers() successfully imports users with MD5 to Firebase Auth w/ explicit password-first hash pass as well. It is my understanding from the --hash-input-order documentation that it should apply to the MD5 algorithm as well. However, this integration test fails although the request being made to the Firebase Auth backend looks correct to me. It would be great if someone from the Firebase Auth team took a look into what is going wrong with that test.

@bojeil-google
Copy link
Contributor

Hey Jacob, I appreciate your help on this but this needs an internal API review before any code can be committed as you are well aware. We will get back to you when we get confirmation. Thanks!

@bojeil-google
Copy link
Contributor

Sorry for the delay @jwngr. The API review for your proposed Node.js changes is under way.

@jwngr jwngr closed this Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants