Jump to content
Welcome to our new Citrix community!

Parse HTTP Response Body for Forms based SSO


Recommended Posts

How would I write a NetScaler expression to parse the HTTP.Response.Body for a string so I can pass it back in a named value pair in a Traffic Forms SSO Profile.

 

In this case the login page is requested and in the HTTP response body is an authentication_token.

 

<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="fqToPx6hBH3rf4pUANPS95QrnREemxa0mzVzWLCTeCJwO74RqVQQghWJXFl2U1JwyQXDwLYSED84F5UuvEm26A==" />

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...