I am creating an authentication controller for my web api. Essentially, when a user of my app creates an account, my controller needs to receive the user's data, and the password (which is not part of the type that contains the rest of the user's data).
Only this one time is the password sent unhashed to the web api. This controller returns a hash salt to the user and he uses that for auth requests henceforth. But my problem is that I can't bind the password to the body along with the user object being created, because web api only accepts one body parameter, and the user info is going in there. So ... this leaves me with the URI for the password. Is this less secure than passing it in the body? Is there a better way to craft this request?
Thanks!