Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Custom pages for logging into the server are available for SAML2 SSO, OAuth and OpenID Connect. This section guides you through this customization. 

...

Tip
titleBefore you begin!
  • To ensure you get the full understanding of customizing the login page with WSO2 IS, the sample travelocity application is used in this use case. Therefore, make sure to download the samples before you begin.
  • The samples run on the Apache Tomcat server and are written based on Servlet 3.0. Therefore, download Tomcat 7.x from here.
  • Install Apache Maven to build the samples. For more information, see Installation Prerequisites.

Configuring two service providers

...

  1. Download WSO2 Identity Server and extract it.
  2.  Run the server by executing wso2is-5.0.0/bin/wso2server.sh if on a Unix-based systems, or /bin/wso2server.bat if on Windows.
  3.  On the management console, click Add under Service Providers in the Main menu. 
  4. Enter travelocity.com as the Service Provider Name in the form that appears and click Register.
  5. In the page that appears next, expand the Inbound Authentication Configuration section and the SAML2 Web SSO Configuration section. 
  6. Click Configure. The Register New Service Provider page appears.
  7. Configure the following details for travelocity.com and repeat steps 1 to 6 and configure details for avis.com.

    Panel
    titletravelocity.com
    • Issuer: travelocity.com 
    • Assertion Consumer URL: http://wso2is.local:8080/travelocity.com/home.jsp
    • Select Enable Response Signing
    • Select Enable Single Logout
    Panel
    titleavis.com
    • Issuer: avis.com 
    • Assertion Consumer URL: http://wso2is.local:8080/avis.com/home.jsp
    • Select Enable Response Signing
    • Select Enable Single Logout
  8. When attempting to "login with SAML from WSO2 Identity Server" in Travelocity.com and Avis.com, you can see the following default page located at <IS_HOME>/repository/deployment/server/webapps/authenticationendpoint/login.jsp.

...