APM Single Sign On (SSO) with HTTP form use "multipart/form-data"

Hi Pros

I’m config APM SSO to the Web Application with HTTP form. But the login page use “multipart/form-data”. The Username & Password parameters in the POST request as this:

------WebKitFormBoundaryjMJPcAP9XlfsAQ7L
Content-Disposition: form-data; name="dnn$ctr$Login$Login_DNN$txtUsername"

usernameherre
------WebKitFormBoundaryjMJPcAP9XlfsAQ7L
Content-Disposition: form-data; name="dnn$ctr$Login$Login_DNN$txtPassword"

passwordhere
------WebKitFormBoundaryjMJPcAP9XlfsAQ7L
Content-Disposition: form-data; name="dnn$ctr$Login$Login_DNN$cmdLogin"

How can I configure SSO HTTP Form?

Phong

Hello Phong,

I never had to implement the sso on this type of form… can you tell me already if you could test the sso method “Forms - Client Initiated”?

Regards

I would recommend to use “Forms - Client Initiated” to configure SSO into this logon page. If you have any troubles please let us know.

-Seth

Hi Seth,

I have configured 2 Parameters:

dnn$ctr$Login$Login_DNN$txtUsername %{session.sso.token.last.username} No
dnn$ctr$Login$Login_DNN$txtPassword %{session.sso.token.last.password} Yes

But when I inspect on my browser:

------WebKitFormBoundaryjMJPcAP9XlfsAQ7L
Content-Disposition: form-data; name="dnn$ctr$Login$Login_DNN$txtUsername"

username
------WebKitFormBoundaryjMJPcAP9XlfsAQ7L
Content-Disposition: form-data; name="dnn$ctr$Login$Login_DNN$txtPassword"

f5-sso-token

It seem is correct but the login is failed

Phong

Does the form actually submit and you are just getting a login failed? Have you looked in the logs to see if you have any errors? -Seth

After logon to F5 (I use Local DB), the browser display App Login page with: - Username box: username - Password box: ********* I run the browser inspect and click logon button to capture. I can not see the app log.