PHP Integration Kit

Using the SP sample application

The PHP Integration Kit service provider (SP) sample application demonstrates SP-initiated single sign-on and single logout use cases.

Steps

  1. Start the PingFederate and Apache HTTP servers or the PHP built-in web server.

  2. In a browser, open the sample application:

    https://hostname/sample/sp/spmain.php

  3. From the list, select an identity provider (IdP) connection, and then click Single Sign-On to begin an SP-initiated single sign-on (SSO) transaction.

  4. On the Identity Provider login screen, sign on as any of the listed users with a password of test.

    If you have already authenticated with the identity provider, you do not need to authenticate again unless either the ForceAuthn or IsPassive option is checked in the Advanced Options section of the application.

  5. Click Login.

  6. To initiate a single logout (SLO) request, click Single Sign-Out.