How to troubleshoot authentication headers?

Hey, after some lengthy troubleshooting trying to get a docker container to connect to a reverse proxied service, it does not seem like my header token is “valid”.

Something similar to;

user@work ~ % curl -X GET “https://web.subdomain.domain.net
-H “Authorization: Bearer zpm.tra4DKAeyx6xqn”
-H “Content-Type: application/json”

Just produces: Unauthorized

The web access log simply gives me a 401. The http header selected in the service config is Bearer token and “zpm.tra4DKAeyx6xqn” or similar.

How do I troubleshoot from here? Is there some other better way to test bearer tokens? Is there some sort of pre-requisite to use bearer tokens, permissions of some kind?

Could you be a bit more specific? What are you trying to reach? Where in your network is it? What exactly does it need to recieve and what is your Netbird settings for that specific domain?