Forum Discussion

DevBabu_124276's avatar
DevBabu_124276
Icon for Nimbostratus rankNimbostratus
May 03, 2017

APM Form based SSO in custom built application

I am learning ASM and trying to use single sign on feature.

I have custom built Web Application.

The login page that presents a form to provide username/password is:

https://10.10.10.10/f5app/index.php

The form action is:

https://10.10.10.10/f5app/inlcudes/login.php

My Settings:

Form Based SSO configuration:
username Source: session.sso.token.last.username
Password Source: session.sso.token.last.password

StartURI: /f5app/index.php
Form Action: /f5app/includes/login.php

Form Paramater for username: username
Form Parameter for password: password

Webtop Setting:
Portal Access Start URI: https://10.10.10.10/f5app/index.php

Portal Settings:
Link Type: Application URI
Application URI: https://10.10.10.10/f5app/

Resource Items:
 https://10.10.10.10:443/f5app/  - Using the Form Based SSO

Access Policy as in picture:

But whenever i login successfully I always get the login form from the application. I expect that i get logged in automatically to the app and get access to the restricted page. What am I missing here. Any help is appreciated.

1 Reply

  • Hi,

     

    Form based SSO require you look at a successful HTTP POST to know :

     

    • Form Paramater for username
    • Form Parameter for password
    • Hidden parameters
    • Successful Logon Detection Match Type

    I use Firefox developper's tools to get all these informations.