My Oracle Support Banner

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 JUNE 20, 2023

Applies to:

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


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 ServerName1 ( <port1> ) and ServerName2 ( <port2> ) respectively. ( which act as SAML SP ). (NOTE these application names are fictitious that made up as example.  Any similarity  to actual code, is purely coincidental and not intended in any other manner.)

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 <port1> would work fine ( since /saml2 location tag points to <port1> ) but SAML request fails for app2.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.