Passport Azure AD OpenIDConnect setup with Node.js and React
Create .env file with the following config
CLIENT_ID=
TENANT_ID=
APP_URL=
MONGO_URL=
KEY=
IV=
ROLLOVER_KEY=
ROLLOVER_IV=
FRONTEND_POINT
From the server root directory, run the commands:
$ npm i
$ node app.js | bunyan
Create .env file with the following config
REACT_APP_SERVER_POINT=
REACT_APP_REDIRECT_URL=
From the client root directory, run the commands:
$ npm i
$ npm start