How to create a virtual product and rewrite API request to different URLs depending on condition?

Solution Verified - Updated -

Issue

  • How to create a virtual URL per the requested path to rewrite to one product that requires a user login token and another product that is running in anonymous access?
Client ---- Virtual Product --- nonlogin product(Anonymous access) ---- Query only API
                            |-- login product(OIDC access)         ---- API require user authentication information.

Environment

  • Red Hat 3scale API Management
    • 2.9+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content