In this SP-Initiated SSO scenario, a user browses to the SP site and attempts to access a protected resource on the SP site. If the user is not logged in, the SP asks the user to log in at the IdP site. When the authentication is complete, the user is redirected back to the SP.
Processing Steps:
In this SP-Initiated SLO scenario, a user clicks on a link on the SP site to log out of the current SP site, the IdP site, and all the other participating SP sites.
After successfully installing the UltimateSaml setup package you will see two web sample projects in folder Samples\Saml\Web\CS\Saml2SPInitiated for C# and Samples\Saml\Web\VB\Saml2SPInitiated for VB.NET. To run these web sample projects, open the solution file Saml2SPInitiated_XXXX.sln, and then press F5 in the Visual Studio IDE.
This sample is configured to run on port 1426 (you can easily change the port number in the project property page). The identity provider web application, in conjunction with Service Provider web application, demonstrates IdP initiated single sign-on. Firstly, you can either login to the local system with the username suser and a password of password or follow the steps below:
You have successfully completed a SAML 2.0 Single Sign-On and are logged in at the Service Provider with your Identity Provider username.
NOTE for step 1 and 2: The user experience should be the same regardless of the binding selected. The only time when this is not the case is if the HTTP POST binding is selected and Javascript is disabled in which case the user will be presented with an intermediate form and a button they need to click.
You can easily configure the Service Provider web application by modifying the settings within its web.config file's <appSettings> section:
This sample is configured to run on port 1425 (you can easily change the port number in the project property page). The identity provider web application, in conjunction with Service Provider web application, demonstrates IdP initiated single sign-on. You can login to the local system with the username iuser and a password of password.
You can easily configure the ID Provider web application by modifying the settings within its web.config file's <appSettings> section: