You can now allow users to authenticate themselves at your Guest Portals using their LinkedIn and Twitter accounts (in addition to Facebook, Instagram, and Foursquare). The workflow is as given below:
- Configure the Social Login Template to include the new Apps.
- Add the Social Login Template to the Guest Portal.
- Create an application on the respective developer page of LinkedIn or Twitter.
- Collect the necessary details as listed below for configuration of the App on Cisco CMX Cloud. Refer to the respective Developer Sections at the end of the article for further information.
- Twitter (Consumer Key, Consumer Secret)
- LinkedIn (Client ID, Client Secret)
- Add an ACL on Cisco WLC to permit data exchange with LinkedIn and Twitter Public APIs.
How to Create and Assign a Social Login Template
- On the Cisco CMX Cloud Web UI, click Connect&Engage>Portal Libraries>Templates>Social Login.
- Enter a name for the Portal and click OK.
- In the Login Page template that opens, click CONTENT>Social Auth.
- Select LinkedIn or Twitter+ as per your requirements. You can choose up to three options.
- For Twitter, enter the Consumer Key, Consumer Secret.
- For LinkedIn, enter the Client ID and Client Secret.
- Click Create New.
- Add the required details. Refer to the respective Developer sections at the end of this article for more information
- Click the check button to create the App.
- Click Save in the top right corner to save the Login Page template.
- In the Connect Experience tab, and assign the portal to the Guest Portal of the required site.
Developer Tasks: LinkedIn
On the LinkedIn developer account, create a new Application for Cisco CMX. Copy the Client ID and Client Secret from the Authentication section.
Developer Account: Twitter
- Login to https://apps.twitter.com/
- Click Create New App.
- In the Create an application page that is displayed, enter the Name, Description, Website, and Callback URL as shown in the image below.
- In the Settings Tab, check the Allow this Application to be used to Sign in to Twitter checkbox.
- In the Keys and Access Tokens page, you can find the Consumer Key and Consumer Secret.
- In the Permissions page, select Read and Write.
Verifying Login Using LinkedIn or Twitter
- Launch the Guest Wifi page. You can see the configured Social Login options.
- You can verify the successful visitor logins from Dashboard>Global Dashboard Today At a Glance. Each login is registered as a new visitor.
- You can see the detailed list of visitors. Click the Visitor Search magnifier glass. In the Visitor Search page that is displayed, scroll right for further details.
- Verify the LinkedIn Login details.
Adding Permit ACL for Twitter and LinkedIn Public APIs.
On Cisco WLC, create an Access Control List permitting Public APIs of Twitter and LinkedIn.