How to redirect SAML request to two Service Providers on two different Managed Servers through a webserver ( like OHS ) (Doc ID 1907798.1)

Last updated on AUGUST 10, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Goal

Consider a scenario wherein you have a SAML IDP and two applications deployed on two managed servers ( not in a cluster ) which act as SAML SP.

We do not want to expose the Weblogic host:port to users and want to use a webserver like OHS behind Weblogic.

 

In the above example ' app1 ' and ' app2 ' are two applications deployed on MS1 ( 7003 ) and MS2 ( 7005 ) respectively. ( which act as SAML SP ).

How do we specify the location tag /saml2 to point to both the managed servers ? ( We need to use a single OHS instance ).

In the above example the SAML requests to app1 i.e 7003 would work fine ( since /saml2 location tag points to 7003 ) but SAML request fails for app2.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms