Unable to invoke IS API service http://{host:port}/accounts/v1/${sys:resource_path} from gateway in straight through routing

Product/components used and version/fix level:

API Gateway and IS installed as remote servers in same network.

Detailed explanation of the problem:

When trying to invoke rest resource from IS through API gateway unable to invoke IS resource service in postman below is error.
Is there any way to invoke rather than making resource operation ACL as Anonymous, When made Anonymous it’s working as expected.

Error messages / full error message screenshot / log file:

“API Gateway encountered an error. Error Message: Native service provider error. Code : 401. Request Details: Service - Accounts,”

Question related to a free trial, or to a production (customer) instance?

HTTP 401 means you’re not presenting credentials when calling the API exposed by the IS.
A convenient way of configuring the gateway to present these credentials is to configure an “Outbound Auth - Transport” policy. See the attached screenshot.
All this can be “externalized” using an alias of type “HTTP Transport security alias”.

2 Likes

Thank you so much Stephane.
Solution Provided by you worked.
Here we can add any authentication scheme present that is supported by native resource server and APIGW.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.