Trusted_network configuration has no effect

Hi,

I configured my auth_providers to allowlist all traffic from my local network exactly as in the example:

When I try to login from my local network either through the locla ip address of the host or through 127.0.0.1 I get the error in the browser:

Logging in to Home with Trusted Networks.
Login aborted:
Your computer is not allowed.

I am running my HA instance from a Docker container. I tried creating a separate brand new image with just this configuration about auth but got the same result.
Anyone with similar setup experienced the same and has some workaround tips?

Your local network should work. Can you post the specific config you have for it?

It’s exactly the same as in the example linked above.