Skip to end of metadata
Go to start of metadata

A quick API guide for using Whydah as Web SSO

The simplest form of WebSSO consist of the following steps

  • Authenticate your app to Whydah SSO, by sending appId and appSecret. Successful authentication will return an appToken
  • From your web application - use a http-redirect for the login-action. Successful login to Whydah SSO will user to your app with a userTicket
  • Use the userTicket and appToken to get the user token / user data
  • Use the SSO session or map the session to you web application user/session
  • So, let us explore the steps in a bit more detail.

Authenticate your app to Whydah SSO

Some code comments to the code

From the ApplicationToken you will need to extract the application session id, which yopu might do with the XPATH expression "/applicationtoken/params/applicationtokenID1"

From your web application - use a http-redirect for the login-action

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.