How can override DNS resolution on API gateway?

Solution Verified - Updated -

Issue

We use RH-SSO as OIDC provider for API management behind two web application firewalls (WAF). One for external requests (sso.example.com), one for internal requests (sso.internal.example.com).
We want to configure 3scale to use sso.example.com as OIDC provider, but 3scale does not have access to the external WAF. Therefore, we want to bypass DNS resolving and point sso.example.com to the internal WAF.
To achieve this we changed the /etc/hosts file on the containers, but this doesn't work. How can we override DNS resolution on APIcast?

Environment

  • Red Hat 3scale API Management v2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In