Need help accessing camera proxy stream

I am attempting to access my camera stream using:

http://192.168.86.84:8123/api/camera_proxy_stream/camera.front_gate_live?token=long_lived_access_token

However, I always get a “401: Unauthorized” in my browser AND a persistent notification in HA: “Login attempt or request with invalid authentication from 192.168.86.71”

I attempted trying to add the following to config.yaml, messing around:

homeassistant:
  auth_providers:
  - type: trusted_networks
    trusted_networks:
      - 192.168.86.0/24
      - 192.168.86.71
    trusted_users:
        192.168.86.71: user_id

Still the same error. Anyone have an idea?

Hi team,
I have same issue, HA version 0.110.
I tryed to enable api_password, use token, bat not working: 401: Unauthorized

I’d love to get this working too…

Same here. Need API to work again.

Only thing that works for me is commandline command on discovery info

curl -H "api_password xxxxxxxx" 192.168.0.117:8123/api/discovery_info
{"base_url": "http://X.X.X.X:8123", "external_url": "http://X.X.X.X:8123", "internal_url": "http://192.168.0.117:8123", "location_name": "Home", "requires_api_password": true, "uuid": "cxxxxxxfxxxxxxfxxxxdxxcxxdaxxxxxx", "version": "0.112.5"}

It will not will not work with the “long lived token”, you need the camera token, this token changes every 5 minutes.
This is how I managed to capture screenshots in nodered :