Welcome

This is an example application with a login link for each social provider. More details...

The page contains a Handlebars template for the list of login buttons.

<script id="ca-login-template" type="text/x-handlebars-template">

The default tenantlogin.jsp has been modified to return JSON instead of HTML. Show me...

{
  "methods":[
    {
      "logo":{"url":"https:\/\/www.example.com\/static\/img\/login-tiles\/facebook\/facebook.svg"}
      ,"description":"Login with your Facebook account"
      ,"name":"Facebook"
      ,"url":"https:\/\/www.example.com\/affwebservices\/public\/oauthtokenconsumer\/facebook?AuthzServerID=Facebook&RelayState=https%3A%2F%2Fwww.example.com%2Fchs%2Fredirect"
    }
  ]
  ,"application":{"selfregistration":{"enabled":true}}
  ,"tenant":{
    "logo":{"url":"\/static\/img\/ca-logos-svg\/CA_r_1cR.svg"}
    ,"description":null
    ,"name":"CA SiteMinder"
    ,"footerlinks":[
      {"name":"Contact Us","url":"http:\/\/www.ca.com\/us\/contact.aspx"}
      ,{"name":"Privacy Policy","url":"http:\/\/www.ca.com\/"}
      ,{"name":"About Us","url":"http:\/\/www.ca.com\/us\/about-us.aspx"}
    ]
  }
  ,"label":{
    "chsui":{
      "loginscreen":{
        "noauthschemesfound":"No Authentication schemes found"
        ,"login":"Login"
        ,"logintitle":"CA SiteMinder - Login"
      }
    }
  }
}
                

Login

When the user clicks a login link, the user is redirected to the SiteMinder login for the selected provider.

The RelayState for each link is set to the URL that the user will be redirected to after login.

Post-Login

After login the user receives a session cookie and user information is available using standard SiteMinder Responses