Forum Discussion

Sam_Hall's avatar
Sam_Hall
Icon for Nimbostratus rankNimbostratus
Sep 15, 2015

Retrieve SSO APM username from the target URL

A user is redirected to a federated services login link such as https://adfs.mysite.com/adfs/ls/login?username=blah&some=morestuff

 

I want to put a multi-domain SSO access policy in front such that they are redirected and prompted to login at https://sso.mysite.com/my.policy

 

How do I tap into the username=blah in the initial URL via my access policy in order to pre-populate the username field?

 

1 Reply

  • I have done something similar by setting a cookie named "username" on the first reply and then updating

    logon.inc
    with the javascript function call
    document.getElementById('input_1').value = cookie.read(name) || '';