Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.15 KB

JS Sample App

The IBM Cloud App ID SDK can be used with a Vanilla Javascript App. Read the official documentation for information on getting started with IBM Cloud App ID and single-page applications.

Table of Contents

Getting Started

Before you begin, you will need an IBM Cloud App ID instance with a singlepageapp application created. For more information on how to create a singlepageapp, visit the documentation.

In the config.json file, replace <CLIENT_ID> and <WELL_KNOWN_ENDPOINT> with the clientId and discoveryEndpoint from the application credentials.

{
    "clientId": "<CLIENT_ID>",
    "discoveryEndpoint": "<WELL_KNOWN_ENDPOINT>"
}

Running the App Locally

Make sure you have updated the config.json with your application credentials.

  1. Run npm install
  2. Start the sample application by running npm start