LinkedIn

Cloud CMS provides integrated authentication and single-sign-on (SSO) with LinkedIn.

This page describes the authentication provider available for the Cloud CMS Application Server that enables your mobile or web applications as well as the Cloud CMS user interface or API to authenticate against LinkedIn.

For more information, see our documentation on the general Authentication / SSO framework.

API Keys

You will need to configure a LinkedIn application and have the following information available:

  • apiKey - the LinkedIn API key
  • apiSecret - the LinkedIn API secret

Examples

Here is a simple configuration where we provide our API Keys and fallback on the defaults for everything else.

"auth": {
    "enabled": true,
    "providers": {
        "twitter": {
            "enabled": true,
            "apiKey": "{LinkedIn API Key}",
            "apiSecret": "{LinkedIn API Secret}"
        }
    }
}

Here is another example where we redirect to the error.html page if the user failed to log in. We also set things up so that a user account will be created automatically if a user couldn't be found for the authenticated LinkedIn user.

"auth": {
    "enabled": true,
    "providers": {
        "twitter": {
            "enabled": true,
            "successRedirect": "/index.html",
            "failureRedirect": "/error.html",
            "apiKey": "{LinkedIn API Key}",
            "apiSecret": "{LinkedIn API Secret}"
            "autoRegister": true
        }
    }
}