Whitelist Rest Client to reach the API gateway

Posted on

I am using 3Scale 2.5.0
After reading an online article - Domain Whitelisting using Referrer Filters-

I feel sorry that I still dont know how to configure it.

My business case Abc application is using user key e.g. ABCD1234 as credential.
One IP , lets say 192.168.1.2 is allowed to reach the application.
One IP , lets say 192.168.1.3 is DISallowed to reach the application.
How can I set the "Referrer Filters" ? and make a curl to GET /transactions/authorize.xml
** Service_Token = Yes I can check this .
** Service_ID = Yes I can check this .
** user_key means ABCD1234?
** Referrer = 192.168.1.2 ??

Once I enter "192.168.1.2" or "*" in "Referrer Filters" , no matter what IP it is , it cannot reach the application, the Error message is "Authentication failed"

Responses