You have to enter your credentials to obtain the auth key automatically.Our systems never save your credentials!
Original source code: https://github.com/argrento/huami-token
Help
Alternative method
After you logged with your Xiaomi account, please copy and paste here the entire URL (you may see an error page, just ignore it)