Skip to content

Passport Azure AD OpenIDConnect setup with Node.js and React

Notifications You must be signed in to change notification settings

ariannavalle/Azure-AD-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Azure-AD-React

Passport Azure AD OpenIDConnect setup with Node.js and React

Backend - Build and run the application

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

Frontend - Build and run the application

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