Currently etnservice::validate_login() is the only function that accepts username and password directly, because of this exception etn:::forward_to_api()can't just append credentials and thus we need a special separate request inetn:::validate_login()`.
The obvious solution is to refactor etnservice::validate_login() to accept a credentials list object instead of username and password, this would require a change in etn so etn:::validate_login() can switch to forward_to_api()
Currently
etnservice::validate_login()is the only function that acceptsusernameandpassword directly, because of this exceptionetn:::forward_to_api()can't just append credentials and thus we need a special separate request inetn:::validate_login()`.The obvious solution is to refactor
etnservice::validate_login()to accept a credentials list object instead ofusernameandpassword, this would require a change inetnsoetn:::validate_login()can switch toforward_to_api()