...
When user access your site that require authentication, user will be redirected to this login page. Here is the example of redirect url: https://shibtest.security.cucloud.net/login.aspx?entityID=shibtestsites.cit.cornell.edu&return=https%3A%2F%2Fshibtest.security.cucloud.net%2FShibboleth.sso%2FLogin%3FSAMLDS%3D1%26target%3Dss%253Amem%253Abb98939caf6a03915ab8b6df13e6b5bb21f40bcec0319d0c8735bb5f91adba44
The redirect url contains a url parameter "return". Your login page need to get the value of the return parameter, and use it to form the url after use make their login selection.
User's Choice | Send user to |
---|---|
Cornell NetID | The value of return parameter&entityID=https%3A%2F%2Fshibidp-test.cit.cornell.edu%2Fidp%2Fshibboleth |