Implementing a Form SSO through APM or IRules?
I have an application that I'm trying to do SSO with but they have a non-standard SSO implementation. First we have a URL on our side (someapp.mycompanydomain.com because we have to authenticate the url and the application does do redirects like SAML) you have to pass the application information in the http headers (did that!) and they will stream an html document back to you (F5) that will need to be sent back to the user. I was doing this using an APM with a form sso configuration the problem is I have to return the user the content that is sent from the service application.
User -> serviceapp.mycompanydomain.com (VIP on F5 with APM) serviceapp.mycompanydomain.com -> uses APM to authenicate user and look up information -> Form SSO -> Post to xyz.serviceapp.com xyz.serviceapp.com -> Responses with html document sent to F5 (this html document has to be sent to the user). All that being said which is the better route to go or take a hybriad half APM with an iRule? If the hybriad approach is used how do I handle the flow between APM and the iRule that would have to write back down to the cliient?
TIA