29-Mar-2019 11:03
I have a SAML Resource set up on an APM webtop. The Virtual Server for the webtop is accessed at . This SAML Resource is an F5 IdP configuration that POSTs the SAML assertion to the ACS endpoint https://[publicIP]/wg/saml/SSO/index.html. I have an iRule attached the the Virtual Server that catches the /wg/saml/SSO/index.html and sends it to the pool of the SP. The problem is, when the SP gets the assertion, it sends a 302 redirect back to , and that triggers a new APM session.
I am wondering what I am doing wrong here. I don't have another public IP to assign to the SP so I am relying on the single Public IP and 1 Virtual Server. The other option I have tried is by setting up a Portal Access Resource, with a rewrite profile on the private IP of the SP. I am having issues with the SAML AuthN request and the SAML assertion in this setup as well, as they are looking for public IPs for both sides and I am having trouble getting the assertion to go back to the Portal Access Resource itself.
29-Mar-2019 15:40
Could you post your iRule?
30-Mar-2019 05:20
when HTTP_REQUEST { if { [HTTP::path] eq "/wg/saml/SSO/index.html" } { pool SP } }
30-Mar-2019 09:09
Are you using a vip targeting vip setup for this?
31-Mar-2019 19:08
I am not currently. Is that something I should be doing? Again, I am having a hard time understanding how to direct traffic back to the Portal Access Resource itself. All of the documentation makes it seem like you just set up the IdP and attach it to the resource and you are good to go.
01-Apr-2019 00:41
So the IdP is the BIG-IP and the webserver is the SP??
 
Create a vip targeting vip configuration youtube and based on the uri path send traffic to the correct backend vip. On one backend vip attach the IdP APM policy, on the other assign the load balancing pool. 
You can use this article as an example for the configuration.
 
Cheers,
 
Kees
 
03-Apr-2019 08:08
Kees,
How would this work on the APM webtop? What type of resource would you assign and what would the URI there be?
Ryan