Allow local network or a server access with no username and password

I was trying to add a webhook from my motioneye to Node-Red that is on another server.
But I have problem to access my Home Assistant from motioneye when Home Assistant
have a username and password.
Is it possible to tell Home Assistant that if you trying to access from a specific ip address then it does not need any username/password.

I think this (trusted networks) is what you’re looking for, but not sure how it works with a webhook.