Skip to content

Azure/iot-central-aad-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An interactive code walk-through on how to authenticate and authorize to use the Azure IoT Central REST APIs

This is a small codebase built from create-react-app and uses MSAL.js. The code demonstrates the call patterns required to Auth'N/Auth'Z against MS Graph, IoT Central, Azure Resource Management (ARM) and working examples of their respective APIs. This should provide you with enough base code to start your own application.

The code demonstrates two call patterns. One pattern is used for IoT Central data plane APIs and single sign-on. The other is used for IoT Central control plane APIs.

Data plane APIs are REST APIs to interact with a specific IoT Central application. Click here to see the list of available APIs. Single sign-on enables deep-linking from your application into an IoT Central application.

Control plane APIs are used to manage resources in you Azure subscription. Use these APIs to create, delete or find and IoT Central application.

Install

npm i

Run

npm start

Usage

http://localhost:4001

About

An interactive code walk-through on how to authenticate and authorize to use the Azure IoT Central REST APIs

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks