I don't able to save the password to create customer API

I’m preparing the test automation against shopware on my own and learning it. I’ll be working the selenium, service api and java

I tried to create the customer but it isn’t save the password, so it means that I don’t  able to signing in this user created on page.

I investigated the documentation and found it has one script to run the password enconder only PHP, unfortanatelly, I don’t have skills it. Can somebody give some sugestion how generate password encoder and able create the customer API with password saved.

Thanks!!!

 

Hey,

I´ve got the same problem and solved it by replacing the field “hashPassword” with “password” which contains the plain password. Shopware automagically encrypts the password with bcrypt upon save.

Best regards,
Patrick