kandy-cpaas2-sample-auth

Auth app

This app will generate auth token for accessing further APIs.

User manual

  1. Create an account on AT&T portal via Register now for a free account.
  2. Open an instance of index.html in the browser for a User.
  3. Enter the server URL, for e.g.,
  4. Choose to get accessToken by Password Grant flow or Client Credentials flow.
  5. Login using User’s credential in the browser window.
  6. For Password Grant flow, enter
    • clientId
    • emailId
    • password
  7. For Client Credentials Grant flow, enter
    • privateKey
    • privateSecret
  8. Click Login
  9. After successful login you will get an accessToken that you can use to explore the other APIs.
Notes

Development

To setup the project repository, run these commands

git clone https://github.com/hclsampleapps/kandy-cpaas2-sample-auth.git
cd kandy-cpaas2-sample-auth

Then, open index.html in the browser to view the app.

Branching strategy

To learn about the branching strategy, contribution & coding conventions followed in the project, please refer GitFlow based branching strategy for your project repository