Auth_providers for login-less access on tablet not working

Hello,

I am trying to use auth_provider to allow a tablet to login automatically as a specific user.

Here is my configuration but unfortunately when I go to HA from the tablet (IP X.45), I get the login screen:

homeassistant:
  auth_providers:
    - type: homeassistant
    - type: trusted_networks
      trusted_networks:
        - 192.168.X.0/24
      trusted_users:
        192.168.X.45: xxxxxxxx_user_id
      allow_bypass_login: true

Am I missing something ?

Did you read the docs and all the warnings and limitations?

Yes I have read the documentation.

I have put the homeassistant type to allow normal login which still works and I have added my local local ip network as trusted network with only my tablet ip as trusted with a specific user I have created for that purpose.

Edit : I am not sure to understand the skip login page paragraph though. If I only set one user Id as trusted user for one IP address, is that supposed to work or because I have other users configured for other IPs I won’t be able to skip the login page?

If so is there another way to skip the login page?

You need to read up on allow_bypass_login in the docs.

1 Like

I first thought this meant only one trusted user:

you have ONLY ONE available user to choose from in the login form.

But reading more it seems that as soon as you have multiple users (even if only one is set at trusted user).

How else can I get a login less interface for my tablet? It’s actually a raspberry pi used as screen with no touch and no keyboard so I can only point it to a url. (I’m using Anthias though I don’t think it makes much difference)

I can only come up with attaching a keyboard for the login process, but I have not actually been in the situation you are, so maybe others can help you further.