I am most definitely doing something wrong, but how am I suppose to validate that the user is in the DB, if I don't have it's ID? I want to verify that he has entered all the good infos and compare those infos with the infos on his account, that I would fetch like that: user/{id}, but I don't have his id. Or maybe the user login has nothing to do with the REST API? I am lost!
EDIT: And I have an Authorization: Basic Auth, but that is maybe more related to the user of the API then the user of the application?