Azure Active Directory Authentication using Node-RED and Passportjs.
In order for the build to run correctly, a few tools will need to be installed on your development machine:
- Docker
- Docker-compose
You need a Azure AD instance.
Compose supports declaring default environment variables in an environment file named .env placed in the folder where the docker-compose command is executed (current working directory).
Inside .env file you can define the value of these variables:
- CLIENT_ID=xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx
- CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- TENANT=xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx
docker-compose up --build