I understand python-eve support HMAC or token based authentication i.e. including the token or hash in the header for each request. however how shall we implement login in the first place i.e. the process we verify username and password before we provide them the token/hmac hash? shall we just accept an new route method like below and read the db directly or there is better way to do that?
app.route('/login', methods['POST'])