Skip to content
Cloudentity Developer Self Service Examples
Branch: master
Clone or download
yaromin Update README.md
Update intro in the readme file
Latest commit 3547499 May 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01-SPA_Login
02-SPA_User_Profile
.gitignore initial examples Apr 25, 2018
CHANGELOG.md
EULA.txt
README.md Update README.md May 18, 2018

README.md

Cloudentity Web Auth Samples

This repository contains examples for using the Cloudentity Web Auth library used to facilitate authentication with Cloudentity. Setting up authentication for your application couldn’t been easier and only requires these simple steps below. Try it out using the Cloudentity demo. After starting your trial, create your JS Single Page App in the Cloudentity developer self service and follow the steps there to see how easy it is.

Usage

To play with each example project:

  1. Go to it's directory and install all dependencies:

    npm install
  2. Update settings.js file with your Cloudentity domain and client id:

     var CLOUDENTITY_SETTINGS = {
       domain: 'your-domain',       // e.g. 'example.demo.cloudentity.com'
       clientId: 'your-client-id',
     };
  3. Make sure you have http://localhost:8000 added to your Redirect URLs in Application Settings.

  4. Start example server:

    npm start
  5. Open following URL in your browser:

    http://localhost:8000 
    
You can’t perform that action at this time.