#Scalable Single Sign On Example code
This source code shows a working example of a scalable app using the Single Sign On service for IBM Bluemix.
This app uses redis and connect-redis to persist express-session session data. Building this application is described in the article: http://www.ibm.com/developerworks/library/wa-scale-sso-for-node-apps-trs-bluemix
To learn more about the IBM Single Sign On service, see the online documentation: https://console.ng.bluemix.net/docs/services/SingleSignOn/index.html#sso_gettingstarted
Sample web applications that include this package may be configured to track deployments to IBM Bluemix and other Cloud Foundry platforms. The following information is sent to a Deployment Tracker service on each deployment:
- Node.js package version
- Node.js repository URL
- Application Name (
application_name
) - Space ID (
space_id
) - Application Version (
application_version
) - Application URIs (
application_uris
) - Labels of bound services
- Number of instances for each bound service and associated plan information
This data is collected from the package.json
file in the sample application and the VCAP_APPLICATION
and VCAP_SERVICES
environment variables in IBM Bluemix and other Cloud Foundry platforms. This data is used by IBM to track metrics around deployments of sample applications to IBM Bluemix to measure the usefulness of our examples, so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.
To disable deployment tracking, edit the app.js file and comment the line near the end containing:
require("cf-deployment-tracker-client").track();