In federated authentication, WSO2 IS will not handle the authentication process. Thus it will be handled by an external applications such as Facebook, Google, Yahoo, Microsoft Windows Live etc. and send the response back to the Identity server. In this post I will guide you to use Facebook as federated authentication.
Click on the advanced setup to create the new application. Give the relevant information and click on Create App ID.
Then you will get an App ID and an App Secret for your app. Go to Settings tab and “Add a platform” as Web. Provide the site URL as https://localhost:9443/ , App Domain as localhost and save the changes.
Go to Advanced tab Client Auth Login and provide the Valid OAuth redirect URIs as https://localhost:9443/commonauth/
Add an identity provider with following configurations.
Provide your Client ID and Client secret relevant to the created app.
Add a Service provider using the following configurations.
Inbound authentication configuration > SAML2 Web SSO configuration
Local inbound and Authentication configuration
Click on the first link (Click here to login with SAML from WSO2 IS) and you will be redirected to Facebook login page. Login using Facebook credentials.
You will be now redirected to the travelocity application.