Hi @Johan Åström,
As you were able to check on the code, when the user is created, the password is not set for the user. In fact, the IdP component is not able to get the user password since the password is only entered on the login page of the external Identity Provider.
What I suspect might have happened in your example is that the user that you are authenticating with the IdP component already existed. In that case, only the name, email but not the password are updated.
If the user already had a password set, it will still be there on the password field with the platform salted hash.
Regards,