Unable to login

I am trying setup my old Samsung tablet using the Home Assistant app. I have reset the tablet to factory defaults, installed all available updates but then I open the app it just tells me “Invalid username or password” or Error: Message format incorrect: required key not provided @ data[‘client_id’]. I can see the password in clear text and I know it is correct. I can login in Firefox but this keeps bugging me. Any pointers?

Any HA errors at the time of login?

for error message “Invalid username or password” it logs
WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from IP. (HomeAssistant/Android SM-T520 2021.12.1-minimal)

for error message: “Error: Message format incorrect: required key not provided @ data[‘client_id’]” it logs:
ERROR (MainThread) [homeassistant.components.http.data_validator] Data does not match schema: required key not provided @ data['client_id']

I even tried copy and paste for username and password but it still claims that my details are incorrect

try logging in with the IP address? strange error but doesnt seem app related here.

Try logging in with chrome instead of the Samsung internet. I take it your on same network as HA. For past month many people cant connect with Samsung internet. Not sure if anyone found a solution yet.

chrome and samsung internet are not the same thing as the app which is what the issue is about

Yes if course. Just checking you can long in with the older tablet at all.

Found the problem. The build in browser was setup as default and that appears to be based on chrome version 39! I have disabled that, changed the default browser to FF. I guess the app uses default android browser in the background for authentication and in this case the browser was just too old.

Thanks for all your suggestions.

the app uses webview, for best compatibility make sure to use Android System Webview made by google. That is all we support.