This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Customizing Login Pages

A custom login page is available for SAML2 SSO, OAuth and OpenId. To customize this feature, you need to know the following:

  1. The pages used to log in and other pages like error and notification screens of SAML SSO, OAuth, OpenID and Passive STS are located in the 'authenticationendpoint' webapp file found at <PRODUCT_HOME>/repository/deployment/server/webapps.
  2. You can easily customize the pages within this webapp by changing the respective JSPs, JavaScript and CSS.
  3. If you want to point to a different web app, you can do so by redirecting or forwarding from 'authenticationendpoint' to your webapp.
  4. In the case of SAML SSO, the 'issuer' id of the service provider is also sent to this webapp. So, different login pages can be given to different service providers by looking at the 'issuer' request parameter.