Make client use the same webserver our landing page got when requesting authentication token
Hi
We have a lets call it landing page (LP) for external users. They use it to find resources. It's a single server and have no LB at the moment.
A user can use the LP and SSO will preauthenticate with a JSON auth token to a remote load balanced service. When user clicks the link for that service it's only preauthenticated if hitting the same LB server LP got the auth token from.
So trying to find the best solution on how it can always hit the server its authenticated on.
So far we added the lb::server_iaddress to header in http_response so LP will know the server it got the token from.
So where to go from here, maybe LP can give user different link based on the added header, then F5 can make a decision based on the URL + clean up the URL. This would require different persistence and load balancing method for LP (no/round robin) and for clients (cookie/least connections).
But I also feels like there might be some builtin feature that simplifies this?