Twitter

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

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 Twitter.

For more information on Authentication within the App Server, see App Server Authentication / SSO.

Twitter API Keys

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

  • consumerKey - the Twitter consumer key
  • consumerSecret - the Twitter consumer secret

Configuration

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

"auth": {
    "providers": {
        "myProvider": {
            "type": "twitter",
            "config": {
                "consumerKey": "{Twitter Consumer Key}",
                "consumerSecret": "{Twitter Consumer Secret}"
            }
        }
    }
}