I'm integrating with a 3rd party data provider.
The way their platform works is you must provide an endpoint to which they periodically send REST requests to with updated data etc.
They happen to send an 'Authorisation' header in the request with a value of:
Bearer [random_code]
The endpoint they're calling is hosted on a public Force.com Site, so there is no authentication to speak of. The problem I'm encountering is that Salesforce (I assume) is seeing this header and assuming it's a session ID which is then tries to log in with.
This is results of a 401 response with message:
[
{
"message": "Session expired or invalid",
"errorCode": "INVALID_SESSION_ID"
}
]
Is there anyway to strip this Authorisation header or otherwise make Salesforce ignore it?