• Omkar Kinikar 12
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
We have a custom live agent implementation in our appilcation.
The chat window from our application sends messages to our application server. Our application server then, sends the REST requests to the Live Agent REST API server configured in our Salesforce instance.

We are trying to block some visitors by IP and that seems to be pretty easy to do in Salesforce. The problem is that as we have our application server sending the REST API requests to Salesforce, the visitor IP we have in the chat requests are always our application server's IP, not the actual visitor IP.

I tried to change that the X-Forwarded-For header, but Salesforce ignores that.

Is there any way to specify the visitor's IP address when sending a new chat REST API request to Salesforce? I checked the documentation and couldn't find anything about it.

Thank you.