qrCode scanning sometimes show error To authenticate a device you have to be logged in
Set correct session data on first login attempt
previous clients could have obsoleted session data uuid and token. Did clearing them before the login attempt
Edited by Alexey Lunin